processsupport 0.1.0__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. {processsupport-0.1.0 → processsupport-0.1.1}/CHANGELOG.md +8 -0
  2. {processsupport-0.1.0/src/processsupport.egg-info → processsupport-0.1.1}/PKG-INFO +6 -6
  3. {processsupport-0.1.0 → processsupport-0.1.1}/README.md +5 -5
  4. processsupport-0.1.1/VERSION +1 -0
  5. {processsupport-0.1.0 → processsupport-0.1.1}/docs/api.md +119 -119
  6. {processsupport-0.1.0 → processsupport-0.1.1}/docs/design/SDD.md +1 -1
  7. {processsupport-0.1.0 → processsupport-0.1.1}/pyproject.toml +1 -1
  8. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/__init__.py +1 -1
  9. {processsupport-0.1.0 → processsupport-0.1.1/src/processsupport.egg-info}/PKG-INFO +6 -6
  10. processsupport-0.1.0/VERSION +0 -1
  11. {processsupport-0.1.0 → processsupport-0.1.1}/LICENSE +0 -0
  12. {processsupport-0.1.0 → processsupport-0.1.1}/MANIFEST.in +0 -0
  13. {processsupport-0.1.0 → processsupport-0.1.1}/docs/README.md +0 -0
  14. {processsupport-0.1.0 → processsupport-0.1.1}/docs/design/methods.json +0 -0
  15. {processsupport-0.1.0 → processsupport-0.1.1}/docs/design/protocol.json +0 -0
  16. {processsupport-0.1.0 → processsupport-0.1.1}/docs/design/support-transport.md +0 -0
  17. {processsupport-0.1.0 → processsupport-0.1.1}/docs/design/transport-generator.json +0 -0
  18. {processsupport-0.1.0 → processsupport-0.1.1}/docs/frameworks/frameworks.md +0 -0
  19. {processsupport-0.1.0 → processsupport-0.1.1}/docs/guides/guides.md +0 -0
  20. {processsupport-0.1.0 → processsupport-0.1.1}/docs/operators/operators.md +0 -0
  21. {processsupport-0.1.0 → processsupport-0.1.1}/docs/releasing.md +0 -0
  22. {processsupport-0.1.0 → processsupport-0.1.1}/requirements-build.txt +0 -0
  23. {processsupport-0.1.0 → processsupport-0.1.1}/requirements-test.txt +0 -0
  24. {processsupport-0.1.0 → processsupport-0.1.1}/scripts/test.ps1 +0 -0
  25. {processsupport-0.1.0 → processsupport-0.1.1}/scripts/test.sh +0 -0
  26. {processsupport-0.1.0 → processsupport-0.1.1}/scripts/verify_wheel.py +0 -0
  27. {processsupport-0.1.0 → processsupport-0.1.1}/setup.cfg +0 -0
  28. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/_validation.py +0 -0
  29. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/alignment.py +0 -0
  30. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/baselines.py +0 -0
  31. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/blasting.py +0 -0
  32. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/energy.py +0 -0
  33. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/kinetics.py +0 -0
  34. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/observer.py +0 -0
  35. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/particles.py +0 -0
  36. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/quality.py +0 -0
  37. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/reconciliation.py +0 -0
  38. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/results.py +0 -0
  39. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/settling.py +0 -0
  40. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/spatial.py +0 -0
  41. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/support.py +0 -0
  42. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/transport.py +0 -0
  43. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport/uncertainty.py +0 -0
  44. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport.egg-info/SOURCES.txt +0 -0
  45. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport.egg-info/dependency_links.txt +0 -0
  46. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport.egg-info/requires.txt +0 -0
  47. {processsupport-0.1.0 → processsupport-0.1.1}/src/processsupport.egg-info/top_level.txt +0 -0
  48. {processsupport-0.1.0 → processsupport-0.1.1}/tests/test_operators.py +0 -0
  49. {processsupport-0.1.0 → processsupport-0.1.1}/tests/test_review_boundaries.py +0 -0
  50. {processsupport-0.1.0 → processsupport-0.1.1}/tests/test_spatial_quality.py +0 -0
  51. {processsupport-0.1.0 → processsupport-0.1.1}/tests/test_transport.py +0 -0
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.01.001] - 2026-12-06
4
+
5
+ ### Fixed
6
+
7
+ - Use absolute public documentation links in the package description so links resolve from PyPI and GitHub.
8
+
9
+ The numerical implementations and existing transport serialized-state format are unchanged from 0.1.0. The installed distribution/version constant is 0.1.1; the transport state's existing 0.1.0 compatibility marker remains unchanged. Original 0.1.0 artifacts and scientific environments retain their identities.
10
+
3
11
  ## [0.01.000] - 2026-12-06
4
12
 
5
13
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: processsupport
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Auditable physical-support operators and constrained transport-response estimation
5
5
  Author: Felipe Santibáñez-Leal
6
6
  License-Expression: MIT
@@ -22,7 +22,7 @@ Dynamic: license-file
22
22
 
23
23
  # ProcessSupport
24
24
 
25
- Physical-support operators and constrained transport-response estimation for reproducible process data analysis. The independent Python distribution is `processsupport`; the repository contains the reusable numerical library, its tests and documentation. Display version 0.01.000 corresponds to distribution version 0.1.0.
25
+ Physical-support operators and constrained transport-response estimation for reproducible process data analysis. The independent Python distribution is `processsupport`; the repository contains the reusable numerical library, its tests and documentation. Display version 0.01.001 corresponds to distribution version 0.1.1.
26
26
 
27
27
  The library preserves what an observation represents, when it was available and which physical quantities a model predicts. It supplies support-weighted composites, release-aware alignment, quality profiles, metric IDW and real PyKrige adapters, dimensional process references, constrained reconciliation, a Joseph-form linear observer, robust healthy-reference scores, finite-rank intervals and joint transport-response estimation.
28
28
 
@@ -31,9 +31,9 @@ The library preserves what an observation represents, when it was available and
31
31
  Install the exact version with an isolated environment's Python. The optional `spatial` extra includes PyKrige 1.7.3. NumPy and SciPy are required; no neural training stack is imported.
32
32
 
33
33
  ```powershell
34
- python -m pip install "processsupport==0.1.0"
34
+ python -m pip install "processsupport==0.1.1"
35
35
  # Optional spatial interpolation engine:
36
- python -m pip install "processsupport[spatial]==0.1.0"
36
+ python -m pip install "processsupport[spatial]==0.1.1"
37
37
  ```
38
38
 
39
39
  ```python
@@ -60,7 +60,7 @@ A predictive fit does not establish recovered residence time. Required bootstrap
60
60
 
61
61
  - `src/processsupport/`: numerical core and serializable results.
62
62
  - `tests/`: hand-calculated and independently manufactured numerical oracles, unit transformations and negative controls.
63
- - `docs/`: [API](docs/api.md), [operator theory](docs/operators/operators.md), [design](docs/design/SDD.md), [frameworks](docs/frameworks/frameworks.md) and [own-data guide](docs/guides/guides.md).
63
+ - `docs/`: [API](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/api.md), [operator theory](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/operators/operators.md), [design](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/design/SDD.md), [frameworks](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/frameworks/frameworks.md) and [own-data guide](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/guides/guides.md).
64
64
  - `scripts/`: matching PowerShell and shell local test entry points.
65
65
  - `requirements-test.txt`: exact versions used for local scientific validation.
66
66
  - `pyproject.toml`, `VERSION`, `CHANGELOG.md`: package metadata and coherent release version.
@@ -75,4 +75,4 @@ python -m pytest tests -q -p no:cacheprovider
75
75
  python -m compileall -q src
76
76
  ```
77
77
 
78
- The numerical tests establish implementation behavior on their stated fixtures. They do not establish generalization across ore bodies, plants or operating regimes. See the [complete documentation](docs/README.md) before applying a reference model to physical data.
78
+ The numerical tests establish implementation behavior on their stated fixtures. They do not establish generalization across ore bodies, plants or operating regimes. See the [complete documentation](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/README.md) before applying a reference model to physical data.
@@ -1,6 +1,6 @@
1
1
  # ProcessSupport
2
2
 
3
- Physical-support operators and constrained transport-response estimation for reproducible process data analysis. The independent Python distribution is `processsupport`; the repository contains the reusable numerical library, its tests and documentation. Display version 0.01.000 corresponds to distribution version 0.1.0.
3
+ Physical-support operators and constrained transport-response estimation for reproducible process data analysis. The independent Python distribution is `processsupport`; the repository contains the reusable numerical library, its tests and documentation. Display version 0.01.001 corresponds to distribution version 0.1.1.
4
4
 
5
5
  The library preserves what an observation represents, when it was available and which physical quantities a model predicts. It supplies support-weighted composites, release-aware alignment, quality profiles, metric IDW and real PyKrige adapters, dimensional process references, constrained reconciliation, a Joseph-form linear observer, robust healthy-reference scores, finite-rank intervals and joint transport-response estimation.
6
6
 
@@ -9,9 +9,9 @@ The library preserves what an observation represents, when it was available and
9
9
  Install the exact version with an isolated environment's Python. The optional `spatial` extra includes PyKrige 1.7.3. NumPy and SciPy are required; no neural training stack is imported.
10
10
 
11
11
  ```powershell
12
- python -m pip install "processsupport==0.1.0"
12
+ python -m pip install "processsupport==0.1.1"
13
13
  # Optional spatial interpolation engine:
14
- python -m pip install "processsupport[spatial]==0.1.0"
14
+ python -m pip install "processsupport[spatial]==0.1.1"
15
15
  ```
16
16
 
17
17
  ```python
@@ -38,7 +38,7 @@ A predictive fit does not establish recovered residence time. Required bootstrap
38
38
 
39
39
  - `src/processsupport/`: numerical core and serializable results.
40
40
  - `tests/`: hand-calculated and independently manufactured numerical oracles, unit transformations and negative controls.
41
- - `docs/`: [API](docs/api.md), [operator theory](docs/operators/operators.md), [design](docs/design/SDD.md), [frameworks](docs/frameworks/frameworks.md) and [own-data guide](docs/guides/guides.md).
41
+ - `docs/`: [API](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/api.md), [operator theory](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/operators/operators.md), [design](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/design/SDD.md), [frameworks](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/frameworks/frameworks.md) and [own-data guide](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/guides/guides.md).
42
42
  - `scripts/`: matching PowerShell and shell local test entry points.
43
43
  - `requirements-test.txt`: exact versions used for local scientific validation.
44
44
  - `pyproject.toml`, `VERSION`, `CHANGELOG.md`: package metadata and coherent release version.
@@ -53,4 +53,4 @@ python -m pytest tests -q -p no:cacheprovider
53
53
  python -m compileall -q src
54
54
  ```
55
55
 
56
- The numerical tests establish implementation behavior on their stated fixtures. They do not establish generalization across ore bodies, plants or operating regimes. See the [complete documentation](docs/README.md) before applying a reference model to physical data.
56
+ The numerical tests establish implementation behavior on their stated fixtures. They do not establish generalization across ore bodies, plants or operating regimes. See the [complete documentation](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/README.md) before applying a reference model to physical data.
@@ -0,0 +1 @@
1
+ 0.01.001
@@ -1,119 +1,119 @@
1
- # ProcessSupport API 0.1.0
2
-
3
- This is the frozen integration interface for the independent numerical library. Numerical arrays use NumPy float64. No function reads a model, source or split from a global directory. Units, source-row identities, physical support and information availability are caller-declared, validated and retained. Empty, nonfinite, incompatible, singular, unidentifiable and unsupported inputs never become a fabricated solution.
4
-
5
- ## Results and failures
6
-
7
- Successful functions return `NumericalResult(value, diagnostics, source_ids, status, unit, basis)`. Python `value` retains numerical arrays; `predictions` is an alias for numerical prediction arrays. `to_dict()` recursively converts arrays and scalars to JSON-safe objects. Nonfinite bounds are represented with explicit interval states and null bounds, never JSON NaN or Infinity. The estimator's `fit` returns the fitted estimator, with `fit_result_` and its diagnostics; `predict` returns a `NumericalResult`.
8
-
9
- Invalid scientific semantics raise `ScientificRefusal(code, message, field=None, details=None, reference=None)`. Its `to_dict()` is JSON-safe. A refusal may carry an explicitly named unconstrained or predictive reference; it is not an accepted constrained estimate. An absent optional engine raises `DependencyUnavailable`, a subtype of `ScientificRefusal`. Invalid Python types and shapes are also reported as typed refusals. Callers must not silently replace them with synthetic data.
10
-
11
- ## Support and availability
12
-
13
- ```python
14
- support.composite(values, weights, *, unit, basis, weight_basis,
15
- missing_policy="reject", row_ids=None, source_ids=(),
16
- value_bases=None, censoring=None)
17
- alignment.asof(observation_times, release_times, values, decision_times, *,
18
- max_age_s, timebase, row_ids=None, source_ids=(),
19
- availability_status=None, retrospective=False)
20
- quality.profile(values, time_s, *, train_indices=None, reference=None,
21
- window=10, drift_z=3.0, missing_policy="preserve",
22
- max_fill_gap=0, row_ids=None, source_ids=())
23
- ```
24
-
25
- `asof` accepts numeric verified UTC or relative seconds. A bounded release is supplied as its documented upper bound with status `bounded-upper`; an unknown release is excluded. Local/DST-ambiguous and unknown timebases refuse. The selected row is the latest observed row already released at that decision; ties with conflicting values refuse. Age is measured from observation end. Retrospective mode remains explicitly offline and still excludes unknown release records. The quality reference is fitted only on explicit training indices or supplied as the frozen returned reference.
26
-
27
- ## Spatial and physical reference operators
28
-
29
- ```python
30
- spatial.idw(coordinates, values, queries, *, frame, power=2.0, neighbors=16,
31
- support_weights=None, row_ids=None, source_ids=(),
32
- replicate_policy="matching-only")
33
- spatial.kriging(coordinates, values, queries, *, frame, dimension=2,
34
- variogram_model="spherical", variogram_parameters=None,
35
- nlags=6, row_ids=None, source_ids=())
36
- blasting.kuznetsov(rock_factor, rock_volume_m3, explosive_kg,
37
- relative_strength_pct, *, size_unit="cm", source_ids=())
38
- energy.bond(f80, p80, work_index, *, size_unit="um",
39
- work_index_unit="kWh/t", source_ids=())
40
- particles.fit_rosin_rammler(sizes, cumulative_fraction, *, size_unit="um",
41
- max_nfev=2000, source_ids=())
42
- kinetics.fit_flotation(times, recovery, *, family="first-order",
43
- time_unit="min", max_nfev=2000,
44
- bootstrap_samples=200, seed=11, source_ids=())
45
- kinetics.fit_leach(times, conversion, *, family="reaction-control",
46
- time_unit="min", max_nfev=2000, source_ids=())
47
- settling.fit(times, heights, *, initial_height_m, solids_fraction,
48
- family="constant-velocity", regime="hindered", area_m2=1.0,
49
- max_nfev=2000, source_ids=())
50
- ```
51
-
52
- The spatial frame follows the declared frame object: kind, id, axis_units, trajectory_assumption and source_ids. Coordinates must share metre axes and an explicit two- or three-dimensional geometry. `kriging` calls actual PyKrige OrdinaryKriging or OrdinaryKriging3D, never discards depth and never adds an undocumented nugget. Conflicting coincident samples refuse without a declared replicate/noise policy. Reference fits return curve arrays as `value`, parameters and numerical diagnostics under `diagnostics`.
53
-
54
- `settling.fit` takes `solids_fraction` as the initial solids volume fraction. A mass fraction cannot be substituted without both solid and liquid densities and a separate explicit conversion. Returned diagnostics name the volume basis.
55
-
56
- ## Reconciliation, observer and baseline
57
-
58
- ```python
59
- reconciliation.reconcile(measured, covariance, A, b, *, nonnegative=False,
60
- tolerance=1e-8, units=None, constraint_units=None,
61
- source_ids=())
62
- observer.kalman(F, H, Q, R, observations, initial_state, initial_covariance, *,
63
- nonnegative=False, dt_s=1.0, source_ids=())
64
- baselines.persistence(observation_times, release_times, values, decision_times,
65
- *, max_age_s, timebase, row_ids=None, source_ids=())
66
- baselines.fit_healthy_reference(train_features, *, feature_names=None,
67
- feature_units=None, source_ids=())
68
- baselines.healthy_distance(reference, query_features, *, clip=5.0,
69
- source_ids=())
70
- ```
71
-
72
- Reconciliation returns an affine feasible vector and retains standardized residuals, raw closure and a gross-error flag. Covariance must be symmetric positive definite and the independent constraint rows full rank. The observer uses the Joseph update and refuses a materially negative posterior when nonnegativity is requested. It retains the unconstrained reference without clipping its state. The healthy reference records medians, IQR/1.349, nonconstant mask and ordered features/units; no remaining feature is a typed refusal. Anomaly threshold selection stays with the caller's separate calibration split.
73
-
74
- ## Intervals
75
-
76
- ```python
77
- uncertainty.split_conformal(calibration_residuals, predictions, *, alpha=0.10,
78
- source_ids=())
79
- uncertainty.aci(predictions, calibration_residuals, released_targets, *,
80
- decision_times_s, target_release_times_s, availability_status,
81
- forecast_ids, timebase, alpha=0.10, gamma=0.01,
82
- zero_latency=False, source_ids=())
83
- ```
84
-
85
- ACI is deterministic replay from the supplied initial calibration. It stores each original interval, predicts before consuming same-instant feedback by default, and updates each released outcome exactly once in release order. Alpha is never clipped. `alpha <= 0` is unbounded and `alpha >= 1` is empty. Split-conformal rank above the calibration count is unbounded. JSON bounds are null for these states. Unknown online timebase refuses; unknown releases never update.
86
-
87
- ## Transport-response estimator
88
-
89
- ```python
90
- SupportTransportRegressor(ridge=0.1, balance_weight=1.0, smoothness=0.01,
91
- seed=11, max_iter=100, kernel_max_iter=200,
92
- ablation="none")
93
- estimator.fit(X, Y, *, support, observation_sigma, regime_ids,
94
- train_indices, validation_indices=(), balance_matrix=None,
95
- balance_target=None, balance_sigma=None, source_ids=None,
96
- feature_names=None, feature_units=None, output_names=None,
97
- output_units=None, availability=None, dependency_groups=None,
98
- observation_ids=None)
99
- estimator.predict(X, *, support, regime_ids, availability=None,
100
- feature_names=None, feature_units=None,
101
- source_ids=(), require_identified=False, observation_ids=None)
102
- estimator.bootstrap(X, Y, *, groups, n_bootstrap=200, seed=11, **fit_kwargs)
103
- estimator.profile_mean_lag(X, Y, *, regime, grid=None, **fit_kwargs)
104
- estimator.to_dict()
105
- SupportTransportRegressor.from_dict(state)
106
- ```
107
-
108
- `X[n,L,p]`, `Y[m,q]`, known `support[m,n]`, `observation_sigma[m,q]`, regime IDs of length n, optional `balance_matrix[k,q]`, `balance_target[n,k]` and `balance_sigma[n,k]` preserve their physical meanings. Train and validation indices refer to observation rows of H/Y. Scaling and balance rows use only grid rows covered by TRAIN supports. Overlapping train/held-out supports refuse. Validation values never optimize a start; candidate selection remains outside this estimator.
109
-
110
- The augmented response matrix is checked before allocation and refuses a projected size above 128 MiB. This bound covers the matrix itself, not total process memory. Input-unit re-expression is handled by the training-fitted feature scale. Output coefficients remain physical, so converting every output by a common factor c requires ridge divided by c squared, alongside coherent conversion of targets, uncertainty and balances. An unchanged numeric ridge is not an output-unit-invariance claim.
111
-
112
- Known ordered `feature_units` and `output_units` are required despite their null defaults in the signature: omission is a typed `missing-units` refusal. A default never supplies an invented physical unit. Reconciliation without unit metadata is explicitly abstract affine algebra; its diagnostic says `abstract-unspecified`. Physical consumers must declare units and validate material bases before calling it.
113
-
114
- `availability` is either null, explicitly recording an offline-only fit, or a mapping containing history release times and grid decision times in verified seconds. An online call must supply known releases no later than the corresponding decision. Unknown support refuses. Missing balance information is refused when balance_weight is positive; balance_weight zero allows the explicitly named no-balance fit.
115
-
116
- Fit diagnostics separate convergence, prediction and identification. A positive local rank diagnostic is provisional until the complete bootstrap and profile are available. `require_identified=True` requires all three diagnostics; weak rank, ambiguity or an unfinished diagnostic refuses the physical interpretation. A single lag has no free transport parameter and never establishes recovered residence time. Unseen regimes and changed training-constant features refuse. Negative flow predictions are retained and flagged as physical output refusals, never clipped. Bootstrap and profile are explicit calls so orchestration can run their predeclared full budgets independently of fit. Their outputs never imply universal coverage or plant validity. Serialization records version, ordered names/units, scaling/masks, original observation IDs, source/training identities, kernels, parameters, objective traces, constraints and identification diagnostics.
117
-
118
-
119
- Post-fit bootstrap and profile calls verify the original TRAIN observation IDs, support, numerical training values, regimes, available balances and unit order against the fitted state's hashes. Expanding a diagnostic into held-out rows or changing the physical problem is a typed refusal. Two to199bootstrap refits are explicit exploratory partial results; only200successful refits complete that diagnostic. Each regime requires its distinct fixed13-point mean-lag profile. Completing one regime never certifies an unprofiled regime. Restored states retain the same known-unit and unique-name checks as fitting. Generic2Dmetric geometry does not assert observed collar lineage; the consumer supplies that evidence.
1
+ # ProcessSupport API 0.1.1
2
+
3
+ This is the frozen integration interface for the independent numerical library. Numerical arrays use NumPy float64. No function reads a model, source or split from a global directory. Units, source-row identities, physical support and information availability are caller-declared, validated and retained. Empty, nonfinite, incompatible, singular, unidentifiable and unsupported inputs never become a fabricated solution.
4
+
5
+ ## Results and failures
6
+
7
+ Successful functions return `NumericalResult(value, diagnostics, source_ids, status, unit, basis)`. Python `value` retains numerical arrays; `predictions` is an alias for numerical prediction arrays. `to_dict()` recursively converts arrays and scalars to JSON-safe objects. Nonfinite bounds are represented with explicit interval states and null bounds, never JSON NaN or Infinity. The estimator's `fit` returns the fitted estimator, with `fit_result_` and its diagnostics; `predict` returns a `NumericalResult`.
8
+
9
+ Invalid scientific semantics raise `ScientificRefusal(code, message, field=None, details=None, reference=None)`. Its `to_dict()` is JSON-safe. A refusal may carry an explicitly named unconstrained or predictive reference; it is not an accepted constrained estimate. An absent optional engine raises `DependencyUnavailable`, a subtype of `ScientificRefusal`. Invalid Python types and shapes are also reported as typed refusals. Callers must not silently replace them with synthetic data.
10
+
11
+ ## Support and availability
12
+
13
+ ```python
14
+ support.composite(values, weights, *, unit, basis, weight_basis,
15
+ missing_policy="reject", row_ids=None, source_ids=(),
16
+ value_bases=None, censoring=None)
17
+ alignment.asof(observation_times, release_times, values, decision_times, *,
18
+ max_age_s, timebase, row_ids=None, source_ids=(),
19
+ availability_status=None, retrospective=False)
20
+ quality.profile(values, time_s, *, train_indices=None, reference=None,
21
+ window=10, drift_z=3.0, missing_policy="preserve",
22
+ max_fill_gap=0, row_ids=None, source_ids=())
23
+ ```
24
+
25
+ `asof` accepts numeric verified UTC or relative seconds. A bounded release is supplied as its documented upper bound with status `bounded-upper`; an unknown release is excluded. Local/DST-ambiguous and unknown timebases refuse. The selected row is the latest observed row already released at that decision; ties with conflicting values refuse. Age is measured from observation end. Retrospective mode remains explicitly offline and still excludes unknown release records. The quality reference is fitted only on explicit training indices or supplied as the frozen returned reference.
26
+
27
+ ## Spatial and physical reference operators
28
+
29
+ ```python
30
+ spatial.idw(coordinates, values, queries, *, frame, power=2.0, neighbors=16,
31
+ support_weights=None, row_ids=None, source_ids=(),
32
+ replicate_policy="matching-only")
33
+ spatial.kriging(coordinates, values, queries, *, frame, dimension=2,
34
+ variogram_model="spherical", variogram_parameters=None,
35
+ nlags=6, row_ids=None, source_ids=())
36
+ blasting.kuznetsov(rock_factor, rock_volume_m3, explosive_kg,
37
+ relative_strength_pct, *, size_unit="cm", source_ids=())
38
+ energy.bond(f80, p80, work_index, *, size_unit="um",
39
+ work_index_unit="kWh/t", source_ids=())
40
+ particles.fit_rosin_rammler(sizes, cumulative_fraction, *, size_unit="um",
41
+ max_nfev=2000, source_ids=())
42
+ kinetics.fit_flotation(times, recovery, *, family="first-order",
43
+ time_unit="min", max_nfev=2000,
44
+ bootstrap_samples=200, seed=11, source_ids=())
45
+ kinetics.fit_leach(times, conversion, *, family="reaction-control",
46
+ time_unit="min", max_nfev=2000, source_ids=())
47
+ settling.fit(times, heights, *, initial_height_m, solids_fraction,
48
+ family="constant-velocity", regime="hindered", area_m2=1.0,
49
+ max_nfev=2000, source_ids=())
50
+ ```
51
+
52
+ The spatial frame follows the declared frame object: kind, id, axis_units, trajectory_assumption and source_ids. Coordinates must share metre axes and an explicit two- or three-dimensional geometry. `kriging` calls actual PyKrige OrdinaryKriging or OrdinaryKriging3D, never discards depth and never adds an undocumented nugget. Conflicting coincident samples refuse without a declared replicate/noise policy. Reference fits return curve arrays as `value`, parameters and numerical diagnostics under `diagnostics`.
53
+
54
+ `settling.fit` takes `solids_fraction` as the initial solids volume fraction. A mass fraction cannot be substituted without both solid and liquid densities and a separate explicit conversion. Returned diagnostics name the volume basis.
55
+
56
+ ## Reconciliation, observer and baseline
57
+
58
+ ```python
59
+ reconciliation.reconcile(measured, covariance, A, b, *, nonnegative=False,
60
+ tolerance=1e-8, units=None, constraint_units=None,
61
+ source_ids=())
62
+ observer.kalman(F, H, Q, R, observations, initial_state, initial_covariance, *,
63
+ nonnegative=False, dt_s=1.0, source_ids=())
64
+ baselines.persistence(observation_times, release_times, values, decision_times,
65
+ *, max_age_s, timebase, row_ids=None, source_ids=())
66
+ baselines.fit_healthy_reference(train_features, *, feature_names=None,
67
+ feature_units=None, source_ids=())
68
+ baselines.healthy_distance(reference, query_features, *, clip=5.0,
69
+ source_ids=())
70
+ ```
71
+
72
+ Reconciliation returns an affine feasible vector and retains standardized residuals, raw closure and a gross-error flag. Covariance must be symmetric positive definite and the independent constraint rows full rank. The observer uses the Joseph update and refuses a materially negative posterior when nonnegativity is requested. It retains the unconstrained reference without clipping its state. The healthy reference records medians, IQR/1.349, nonconstant mask and ordered features/units; no remaining feature is a typed refusal. Anomaly threshold selection stays with the caller's separate calibration split.
73
+
74
+ ## Intervals
75
+
76
+ ```python
77
+ uncertainty.split_conformal(calibration_residuals, predictions, *, alpha=0.10,
78
+ source_ids=())
79
+ uncertainty.aci(predictions, calibration_residuals, released_targets, *,
80
+ decision_times_s, target_release_times_s, availability_status,
81
+ forecast_ids, timebase, alpha=0.10, gamma=0.01,
82
+ zero_latency=False, source_ids=())
83
+ ```
84
+
85
+ ACI is deterministic replay from the supplied initial calibration. It stores each original interval, predicts before consuming same-instant feedback by default, and updates each released outcome exactly once in release order. Alpha is never clipped. `alpha <= 0` is unbounded and `alpha >= 1` is empty. Split-conformal rank above the calibration count is unbounded. JSON bounds are null for these states. Unknown online timebase refuses; unknown releases never update.
86
+
87
+ ## Transport-response estimator
88
+
89
+ ```python
90
+ SupportTransportRegressor(ridge=0.1, balance_weight=1.0, smoothness=0.01,
91
+ seed=11, max_iter=100, kernel_max_iter=200,
92
+ ablation="none")
93
+ estimator.fit(X, Y, *, support, observation_sigma, regime_ids,
94
+ train_indices, validation_indices=(), balance_matrix=None,
95
+ balance_target=None, balance_sigma=None, source_ids=None,
96
+ feature_names=None, feature_units=None, output_names=None,
97
+ output_units=None, availability=None, dependency_groups=None,
98
+ observation_ids=None)
99
+ estimator.predict(X, *, support, regime_ids, availability=None,
100
+ feature_names=None, feature_units=None,
101
+ source_ids=(), require_identified=False, observation_ids=None)
102
+ estimator.bootstrap(X, Y, *, groups, n_bootstrap=200, seed=11, **fit_kwargs)
103
+ estimator.profile_mean_lag(X, Y, *, regime, grid=None, **fit_kwargs)
104
+ estimator.to_dict()
105
+ SupportTransportRegressor.from_dict(state)
106
+ ```
107
+
108
+ `X[n,L,p]`, `Y[m,q]`, known `support[m,n]`, `observation_sigma[m,q]`, regime IDs of length n, optional `balance_matrix[k,q]`, `balance_target[n,k]` and `balance_sigma[n,k]` preserve their physical meanings. Train and validation indices refer to observation rows of H/Y. Scaling and balance rows use only grid rows covered by TRAIN supports. Overlapping train/held-out supports refuse. Validation values never optimize a start; candidate selection remains outside this estimator.
109
+
110
+ The augmented response matrix is checked before allocation and refuses a projected size above 128 MiB. This bound covers the matrix itself, not total process memory. Input-unit re-expression is handled by the training-fitted feature scale. Output coefficients remain physical, so converting every output by a common factor c requires ridge divided by c squared, alongside coherent conversion of targets, uncertainty and balances. An unchanged numeric ridge is not an output-unit-invariance claim.
111
+
112
+ Known ordered `feature_units` and `output_units` are required despite their null defaults in the signature: omission is a typed `missing-units` refusal. A default never supplies an invented physical unit. Reconciliation without unit metadata is explicitly abstract affine algebra; its diagnostic says `abstract-unspecified`. Physical consumers must declare units and validate material bases before calling it.
113
+
114
+ `availability` is either null, explicitly recording an offline-only fit, or a mapping containing history release times and grid decision times in verified seconds. An online call must supply known releases no later than the corresponding decision. Unknown support refuses. Missing balance information is refused when balance_weight is positive; balance_weight zero allows the explicitly named no-balance fit.
115
+
116
+ Fit diagnostics separate convergence, prediction and identification. A positive local rank diagnostic is provisional until the complete bootstrap and profile are available. `require_identified=True` requires all three diagnostics; weak rank, ambiguity or an unfinished diagnostic refuses the physical interpretation. A single lag has no free transport parameter and never establishes recovered residence time. Unseen regimes and changed training-constant features refuse. Negative flow predictions are retained and flagged as physical output refusals, never clipped. Bootstrap and profile are explicit calls so orchestration can run their predeclared full budgets independently of fit. Their outputs never imply universal coverage or plant validity. Serialization records version, ordered names/units, scaling/masks, original observation IDs, source/training identities, kernels, parameters, objective traces, constraints and identification diagnostics.
117
+
118
+
119
+ Post-fit bootstrap and profile calls verify the original TRAIN observation IDs, support, numerical training values, regimes, available balances and unit order against the fitted state's hashes. Expanding a diagnostic into held-out rows or changing the physical problem is a typed refusal. Two to199bootstrap refits are explicit exploratory partial results; only200successful refits complete that diagnostic. Each regime requires its distinct fixed13-point mean-lag profile. Completing one regime never certifies an unprofiled regime. Restored states retain the same known-unit and unique-name checks as fitting. Generic2Dmetric geometry does not assert observed collar lineage; the consumer supplies that evidence.
@@ -1,6 +1,6 @@
1
1
  # ProcessSupport numerical design
2
2
 
3
- Version 1.0.0. The numerical component is independently installable as processsupport 0.1.0. Its boundary accepts explicitly declared observations, histories, support weights, physical units and available information. It returns numerical results with diagnostics or a typed refusal. It neither retrieves hidden simulator truth nor invokes a product pipeline.
3
+ Version 1.0.0. The numerical component is independently installable as processsupport 0.1.1. Its boundary accepts explicitly declared observations, histories, support weights, physical units and available information. It returns numerical results with diagnostics or a typed refusal. It neither retrieves hidden simulator truth nor invokes a product pipeline. The 0.1.1 patch changes metadata only and retains the existing transport serialized-state 0.1.0 compatibility marker; it does not rewrite historical model provenance or change the numerical implementation.
4
4
 
5
5
  ## Ownership and non-goals
6
6
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "processsupport"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "Auditable physical-support operators and constrained transport-response estimation"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -2,5 +2,5 @@
2
2
 
3
3
  from .results import DependencyUnavailable, NumericalResult, ScientificRefusal
4
4
 
5
- __version__ = "0.1.0"
5
+ __version__ = "0.1.1"
6
6
  __all__ = ["DependencyUnavailable", "NumericalResult", "ScientificRefusal", "__version__"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: processsupport
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Auditable physical-support operators and constrained transport-response estimation
5
5
  Author: Felipe Santibáñez-Leal
6
6
  License-Expression: MIT
@@ -22,7 +22,7 @@ Dynamic: license-file
22
22
 
23
23
  # ProcessSupport
24
24
 
25
- Physical-support operators and constrained transport-response estimation for reproducible process data analysis. The independent Python distribution is `processsupport`; the repository contains the reusable numerical library, its tests and documentation. Display version 0.01.000 corresponds to distribution version 0.1.0.
25
+ Physical-support operators and constrained transport-response estimation for reproducible process data analysis. The independent Python distribution is `processsupport`; the repository contains the reusable numerical library, its tests and documentation. Display version 0.01.001 corresponds to distribution version 0.1.1.
26
26
 
27
27
  The library preserves what an observation represents, when it was available and which physical quantities a model predicts. It supplies support-weighted composites, release-aware alignment, quality profiles, metric IDW and real PyKrige adapters, dimensional process references, constrained reconciliation, a Joseph-form linear observer, robust healthy-reference scores, finite-rank intervals and joint transport-response estimation.
28
28
 
@@ -31,9 +31,9 @@ The library preserves what an observation represents, when it was available and
31
31
  Install the exact version with an isolated environment's Python. The optional `spatial` extra includes PyKrige 1.7.3. NumPy and SciPy are required; no neural training stack is imported.
32
32
 
33
33
  ```powershell
34
- python -m pip install "processsupport==0.1.0"
34
+ python -m pip install "processsupport==0.1.1"
35
35
  # Optional spatial interpolation engine:
36
- python -m pip install "processsupport[spatial]==0.1.0"
36
+ python -m pip install "processsupport[spatial]==0.1.1"
37
37
  ```
38
38
 
39
39
  ```python
@@ -60,7 +60,7 @@ A predictive fit does not establish recovered residence time. Required bootstrap
60
60
 
61
61
  - `src/processsupport/`: numerical core and serializable results.
62
62
  - `tests/`: hand-calculated and independently manufactured numerical oracles, unit transformations and negative controls.
63
- - `docs/`: [API](docs/api.md), [operator theory](docs/operators/operators.md), [design](docs/design/SDD.md), [frameworks](docs/frameworks/frameworks.md) and [own-data guide](docs/guides/guides.md).
63
+ - `docs/`: [API](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/api.md), [operator theory](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/operators/operators.md), [design](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/design/SDD.md), [frameworks](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/frameworks/frameworks.md) and [own-data guide](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/guides/guides.md).
64
64
  - `scripts/`: matching PowerShell and shell local test entry points.
65
65
  - `requirements-test.txt`: exact versions used for local scientific validation.
66
66
  - `pyproject.toml`, `VERSION`, `CHANGELOG.md`: package metadata and coherent release version.
@@ -75,4 +75,4 @@ python -m pytest tests -q -p no:cacheprovider
75
75
  python -m compileall -q src
76
76
  ```
77
77
 
78
- The numerical tests establish implementation behavior on their stated fixtures. They do not establish generalization across ore bodies, plants or operating regimes. See the [complete documentation](docs/README.md) before applying a reference model to physical data.
78
+ The numerical tests establish implementation behavior on their stated fixtures. They do not establish generalization across ore bodies, plants or operating regimes. See the [complete documentation](https://github.com/fsantibanezleal/CAOS_ProcessSupport/blob/main/docs/README.md) before applying a reference model to physical data.
@@ -1 +0,0 @@
1
- 0.01.000
File without changes
File without changes