kalanos-tracking 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.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the
44
+ purposes of this License, Derivative Works shall not include works
45
+ that remain separable from, or merely link (or bind by name) to the
46
+ interfaces of, the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including the
49
+ original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Kalanos
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,11 @@
1
+ Kalanos Tracking
2
+ Copyright 2026 Kalanos AI
3
+
4
+ This package reads a Kalanos assessment through the Kalanos report loader (Apache-2.0,
5
+ published on PyPI as a pinned dependency; its source code is not copied here) and writes
6
+ selected fields to experiment trackers you already use. The tracker libraries are optional
7
+ dependencies and keep their own licenses, trademarks and attribution.
8
+
9
+ All product, company and project names are trademarks of their respective owners and are
10
+ used only to identify compatibility. This project is independent and is not affiliated
11
+ with, sponsored by or endorsed by those owners.
@@ -0,0 +1,280 @@
1
+ Metadata-Version: 2.4
2
+ Name: kalanos-tracking
3
+ Version: 0.1.1
4
+ Summary: Attach Kalanos dataset assessments to existing experiment runs
5
+ Author: KalanosAI
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://kalanos.ai
8
+ Project-URL: Source, https://github.com/KalanosAI/kalanos-tracking
9
+ Project-URL: Issues, https://github.com/KalanosAI/kalanos-tracking/issues
10
+ Keywords: robotics,dataset-quality,experiment-tracking,mlflow,wandb,trackio,tensorboard,lerobot
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ License-File: NOTICE
25
+ Requires-Dist: kalanos<0.11,>=0.10.3
26
+ Provides-Extra: wandb
27
+ Requires-Dist: wandb<1,>=0.19; extra == "wandb"
28
+ Provides-Extra: tensorboard
29
+ Requires-Dist: tensorboard<3,>=2.17; extra == "tensorboard"
30
+ Provides-Extra: trackio
31
+ Requires-Dist: trackio<1,>=0.45; extra == "trackio"
32
+ Provides-Extra: mlflow
33
+ Requires-Dist: mlflow-skinny<4,>=2.20; extra == "mlflow"
34
+ Provides-Extra: smoke
35
+ Requires-Dist: sqlalchemy<3,>=2; extra == "smoke"
36
+ Requires-Dist: alembic<2,>=1.13; extra == "smoke"
37
+ Requires-Dist: tensorboardX<3,>=2.6; extra == "smoke"
38
+ Dynamic: license-file
39
+
40
+ # Kalanos Tracking
41
+
42
+ ### Put dataset evidence beside your training curves.
43
+
44
+ A lightweight bridge from a **saved Kalanos assessment** to an existing **Weights & Biases, MLflow, Trackio or TensorBoard run**. For robotics engineers preparing imitation-learning experiments, it answers a question a loss curve cannot: **what did we actually check about the data used for this run?**
45
+
46
+ [Quickstart](#start-in-three-steps) · [W&B](#weights--biases) · [MLflow](#mlflow) · [Trackio](#trackio) · [TensorBoard](#tensorboard) · [Private setups](#your-data-your-tracking-destination) · [Integration guide](docs/INTEGRATION.md)
47
+
48
+ ```mermaid
49
+ flowchart LR
50
+ A[Your robotics dataset] --> B[Kalanos grader]
51
+ B --> C[audit.json]
52
+ C --> D[Kalanos Tracking]
53
+ D --> E[Existing W&B run]
54
+ D --> F[Existing MLflow run]
55
+ D --> H[Existing Trackio run]
56
+ D --> I[Existing TensorBoard writer]
57
+ G[Your trainer] --> E
58
+ G --> F
59
+ ```
60
+
61
+ **Separate package. No grader modifications. No MCP. No automatic grading or training.**
62
+
63
+ > **Source preview:** install from this repository; there is no PyPI release yet. See [validation](VALIDATION.md) for exactly what was tested.
64
+
65
+ ## Make experiments easier to understand
66
+
67
+ | Question | What appears with your experiment |
68
+ |---|---|
69
+ | What assessment did we use? | Report SHA-256, grader version, assessment run ID and available source revision/digest. |
70
+ | How many episodes need attention? | Separate pass, review, blocked and unknown counts. |
71
+ | Is the readiness score established? | Recorded score only when defined, plus an explicit `readiness_defined` flag. |
72
+ | What was the assessment scope? | Requirements/policy identifiers, tier, completion and sufficiency status. |
73
+ | Can I inspect the evidence later? | Optional summary artifact or explicitly selected full original report. |
74
+
75
+ A descriptive score is **not** training readiness. Readiness is relative to recorded requirements, and neither is a measured prediction of policy success. A parent dataset's report does not automatically describe a filtered training subset.
76
+
77
+ ## Start in three steps
78
+
79
+ **Requirements:** Python 3.10+, a local Kalanos report and an existing tracker run.
80
+
81
+ ### 1. Install
82
+
83
+ Choose the tracker used by your training script:
84
+
85
+ ```bash
86
+ python -m pip install 'kalanos-tracking[wandb]' # W&B only
87
+ # or
88
+ python -m pip install 'kalanos-tracking[mlflow]' # MLflow only
89
+ # or
90
+ python -m pip install 'kalanos-tracking[trackio]' # Trackio only
91
+ # or
92
+ python -m pip install 'kalanos-tracking[tensorboard]' # TensorBoard; use your existing PyTorch writer
93
+ # or
94
+ python -m pip install 'kalanos-tracking[wandb,mlflow,trackio,tensorboard]'
95
+ ```
96
+
97
+ To run the examples or the tests, install from a checkout instead: clone this repository and replace `kalanos-tracking` with `.` in the commands above (for example `python -m pip install '.[mlflow,smoke]'`).
98
+
99
+ The adapter requires `kalanos>=0.10.3,<0.11` and is validated against 0.10.3; reports with an unknown schema are rejected. Tracker dependencies are optional. Use an isolated environment compatible with your trainer; freeze resolved versions for production.
100
+
101
+ ### 2. Grade once, then reuse the report
102
+
103
+ ```bash
104
+ kalanos grade ./dataset --report audit.json
105
+ ```
106
+
107
+ This command can return a nonzero status when the dataset fails the configured gate. A report may still exist: logging that report does **not** override the grader's outcome. Run grading in your existing data-preparation or CI workflow; do not grade every training batch.
108
+
109
+ ### 3. Attach it to your training run
110
+
111
+ #### Weights & Biases
112
+
113
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/KalanosAI/kalanos-tracking/blob/main/notebooks/kalanos_wandb_preflight.ipynb)
114
+
115
+ Grade a small LeRobot dataset, inspect the episode decisions, and see the audit beside a CPU training curve. The notebook defaults to offline mode and needs no W&B account to run that way. See the [notebook guide](notebooks/wandb-preflight-README.md) for the hosted option and data-sharing details.
116
+
117
+ ```python
118
+ import wandb
119
+ from kalanos_tracking import load_assessment, log_to_wandb
120
+
121
+ assessment = load_assessment("audit.json")
122
+ with wandb.init(project="robot-learning") as run:
123
+ result = log_to_wandb(assessment, run=run, slot="train_data")
124
+ print(result.status) # logged | already_logged | error
125
+ # Your existing training loop continues here.
126
+ ```
127
+
128
+ If your trainer already initializes W&B, pass **that run object**. Do not create a second run just for Kalanos. The helper writes static run-summary fields, not training history, and never advances W&B's training-step counter.
129
+
130
+ #### MLflow
131
+
132
+ ```python
133
+ import mlflow
134
+ from kalanos_tracking import load_assessment, log_to_mlflow
135
+
136
+ assessment = load_assessment("audit.json")
137
+ with mlflow.start_run() as run:
138
+ result = log_to_mlflow(assessment, run_id=run.info.run_id,
139
+ slot="train_data", artifact="summary")
140
+ print(result.status)
141
+ # Your existing training loop continues here.
142
+ ```
143
+
144
+ For an already-running experiment, pass its run ID and optionally your configured `MlflowClient`. The helper never starts or ends a run, changes the active run, or changes your tracking URI. Assessment metrics are logged at MLflow's default step 0 in their own namespace.
145
+
146
+ #### Trackio
147
+
148
+ ```python
149
+ import trackio
150
+ from kalanos_tracking import load_assessment, log_to_trackio
151
+
152
+ run = trackio.init(project="robot-learning") # or your trainer's existing run
153
+ result = log_to_trackio(load_assessment("audit.json"), run=run,
154
+ step=0, slot="train_data", artifact="summary")
155
+ # Start training at the next chosen step; this call advances Trackio's counter.
156
+ # The caller finishes/flushes its run normally.
157
+ ```
158
+
159
+ This is one history entry, not W&B-style static summary. `logged` means submitted to Trackio's SDK: it queues writes and can convert internal failures into warnings. Verify persistence after your run finishes. Check `TRACKIO_SPACE_ID` / `TRACKIO_SERVER_URL` and your init arguments before assuming data stays local.
160
+
161
+ #### TensorBoard
162
+
163
+ ```python
164
+ from torch.utils.tensorboard import SummaryWriter
165
+ from kalanos_tracking import load_assessment, log_to_tensorboard
166
+
167
+ with SummaryWriter("runs/robot-learning") as writer:
168
+ result = log_to_tensorboard(load_assessment("audit.json"), writer=writer,
169
+ step=0, slot="train_data")
170
+ # Your training loop writes to the same writer.
171
+ ```
172
+
173
+ Use your existing PyTorch installation; the `tensorboard` extra does **not** install PyTorch. A compatible `tensorboardX.SummaryWriter` can also be supplied. Metadata and coverage appear in TensorBoard's Text panel.
174
+
175
+ For an optional local report copy, pass `artifact="summary"` or `"full"` **and** `report_dir="reports"`. Files are placed under `<report_dir>/<slot>/<report-sha256>/`. This is a sidecar export, not an uploaded or clickable TensorBoard artifact. The caller flushes/closes the writer.
176
+
177
+ ## What you will see in your run
178
+
179
+ With `slot="train_data"`, look for `kalanos/train_data/` in the same run as your training metrics:
180
+
181
+ | Backend | Example location and content |
182
+ |---|---|
183
+ | W&B | Run summary: `kalanos/train_data/episodes_review`; optional report under the run's Artifacts. These static fields are not added to training history automatically. |
184
+ | MLflow | Run metrics: `kalanos/train_data/episodes_review`; provenance in tags; optional files under `kalanos/train_data` in Artifacts. |
185
+ | Trackio | Run history at your chosen step: `kalanos/train_data/episodes_review`, plus the Markdown `kalanos/train_data/assessment` entry; optional report artifact. |
186
+ | TensorBoard | Scalars: `kalanos/train_data/episodes_review`; Text: `kalanos/train_data/assessment`. Optional report copies remain local sidecars. |
187
+
188
+ The `readiness_score` field appears only when the report defines it. These are field-name examples,
189
+ not fabricated assessment results or a promise that dataset scores predict training performance.
190
+
191
+ ## Choose what to send
192
+
193
+ | `artifact` | What the helper sends |
194
+ |---|---|
195
+ | `"none"` (default) | Allowlisted numeric metrics and metadata only. |
196
+ | `"summary"` | Above, plus `summary.json` with structured coverage counts. |
197
+ | `"full"` | Above, plus the **original report bytes** as `audit.json`. Explicit opt-in. TensorBoard writes local sidecars only. |
198
+
199
+ ```python
200
+ result = log_to_wandb(assessment, run=run, artifact="summary")
201
+ ```
202
+
203
+ Metrics appear under `kalanos/<slot>/…`, for example:
204
+
205
+ ```text
206
+ kalanos/train_data/descriptive_score
207
+ kalanos/train_data/readiness_score # absent if undefined, never fabricated as 0
208
+ kalanos/train_data/episodes_pass
209
+ kalanos/train_data/episodes_review
210
+ kalanos/train_data/episodes_blocked
211
+ kalanos/train_data/episodes_unknown
212
+ kalanos/train_data/confirmed_eligible_share
213
+ ```
214
+
215
+ Unknown readiness remains explicitly marked in metadata. Coverage uses recorded units and denominators, not a synthetic aggregate percentage. Missing coverage remains missing. Summary artifacts omit free-form reasons, source paths, task text, episode details and embedded previews. Inspect the local `assessment.summary` before logging; **scope identifiers and source revision/digest are still metadata you are choosing to share**.
216
+
217
+ ## Your data, your tracking destination
218
+
219
+ - Use `wandb.init(..., mode="offline")` for offline W&B logging. The user owns any later sync.
220
+ - Configure your team's MLflow server or local store normally; the adapter does not choose a hosted destination.
221
+ - No dataset files are uploaded by the adapter. Full reports **can contain private data**, including local paths, instructions, diagnostics and previews. Review before using `artifact="full"`.
222
+ - Existing tracker SDKs may independently collect their normal telemetry/configuration. These helpers do not turn those SDK features off or guarantee zero network traffic.
223
+ - No token handling, public Hub publication, report retrieval or credentials are added.
224
+
225
+ ## Fits your existing robotics pipeline
226
+
227
+ **LeRobot:** call the helper after your trainer creates its experiment run, before the first optimization step. Use the report for the exact data revision and episode selection you train on; this package records report provenance but does not independently verify your training dataset.
228
+
229
+ **Microsoft Physical AI Toolchain:** its LeRobot wrapper already initializes MLflow and logs dataset lineage. Add `log_to_mlflow(...)` after run initialization and before launching training. See the [recipe](docs/INTEGRATION.md#microsoft-physical-ai-toolchain). This is a proposed integration point, not a Microsoft-endorsed integration or an upstream patch.
230
+
231
+ **GitHub Actions:** retain `audit.json` from the grader step, then log it when a training run is available. Preserve the grading step's exit status. Keep access to logs and report artifacts aligned with the dataset's privacy.
232
+
233
+ ## Predictable behavior, explicit limits
234
+
235
+ - The authoritative Kalanos loader decodes compact reports, resolves reason tables and validates report consistency. Legacy 6.x reports are rejected; regrade rather than invent missing decisions.
236
+ - For W&B/MLflow, repeated successful calls with the same report and artifact option in one run/slot are skipped. A different report in the same slot is rejected; choose another slot to avoid stale metrics. Use one writer per slot.
237
+ - SDK exceptions caught by the helper return `LoggingResult(status="error", error_type=...)` by default; pass `strict=True` to raise. Check the result. Parsing/configuration/slot conflicts raise directly. A logging failure is not a grader failure.
238
+ - Tracker writes are **not transactional**. Partial failures may leave some metrics written; retries may duplicate MLflow metric history or artifact versions. W&B may queue writes: `logged` means the SDK accepted the operation, not that a remote service has durably acknowledged it. Finish/flush the caller's run normally.
239
+ - No report comparisons, dataset merges, readiness recalculation, UI dashboards or model-performance claims.
240
+
241
+ ### Backend differences matter
242
+
243
+ | Backend | Assessment display | Report attachment | Step behavior |
244
+ |---|---|---|---|
245
+ | W&B | Static summary fields | Optional artifact | Does not advance training history |
246
+ | MLflow | Metrics and tags | Optional artifact | Assessment metrics at step 0 |
247
+ | Trackio | One history entry + Markdown | Optional artifact | **Advances next-step counter**; caller supplies step |
248
+ | TensorBoard | Scalars + Text panel | Optional **local sidecar**, not an artifact registry | Caller supplies global step |
249
+
250
+ W&B/MLflow successful identical calls are skipped per run/slot. Trackio/TensorBoard are **call-once helpers**, not deduplicated ingestion. They don't own the caller's lifecycle or automatically start/sync a hosted service.
251
+
252
+ ## Validate and contribute
253
+
254
+ ```bash
255
+ PYTHONPATH=src python -m unittest discover -s tests -v
256
+ python -m compileall -q src tests examples
257
+ ```
258
+
259
+ See [VALIDATION.md](VALIDATION.md) for mocked versus actual SDK coverage, and [docs/DESIGN.md](docs/DESIGN.md) for architecture. An integration is ready only after testing the user's actual tracker versions and destination.
260
+
261
+ ### Local smoke recipes
262
+
263
+ After installing the chosen backend extras, optional local-test helpers can be installed with `python -m pip install '.[smoke]'` (SQLAlchemy and Alembic for SQLite MLflow, TensorBoardX for a small writer). Then run:
264
+
265
+ ```bash
266
+ python examples/wandb_offline.py audit.json ./smoke/wandb
267
+ python examples/mlflow_local.py audit.json ./smoke/mlflow
268
+ python examples/tensorboard_local.py audit.json ./smoke/tensorboard
269
+ python examples/trackio_local.py audit.json ./smoke/trackio # needs the trackio extra
270
+ ```
271
+
272
+ Use a fresh output directory for the MLflow example because it creates a named experiment. These scripts use local/offline output; they do not launch training. The Trackio example refuses to run if `TRACKIO_SPACE_ID`, `TRACKIO_SERVER_URL` or `TRACKIO_BUCKET_ID` is set (even to an empty value). Unset those variables for this local-only smoke; it does not silently change your configured remote destination. Trackio itself may still contact Hugging Face to look up your default username when an `HF_TOKEN` is present (no assessment data is sent); unset `HF_TOKEN` for a strictly offline run. For intentional remote logging, use `examples/trackio_existing_run.py`. With those settings absent, the local example stores output in the requested directory; the Trackio snippet above deliberately takes an existing run so your application, not the adapter, selects the destination.
273
+
274
+ ## Learn more
275
+
276
+ [Kalanos](https://kalanos.ai/) · [Data Hub](https://hub.kalanos.ai/) · [Grader](https://github.com/KalanosAI/kalanos) · [Report schema](https://github.com/KalanosAI/kalanos/blob/main/docs/SCHEMA.md)
277
+
278
+ Apache-2.0 ([LICENSE](LICENSE), [NOTICE](NOTICE)). Tracker and dataset licenses remain their own. All product and project names are trademarks of their respective owners and identify compatibility only; this independent Kalanos AI package is not affiliated with, sponsored by or endorsed by them.
279
+
280
+ Report suspected vulnerabilities privately as described in [SECURITY.md](SECURITY.md). For other questions or reports, email [reports@kalanos.ai](mailto:reports@kalanos.ai).