Repository navigation
docs(analytics): exact analysis_revision and truncation wording; strip private backend references from the run-view contract text - #780
Merged
Conversation
…p private backend references from the run-view contract text The backend increments analysis_revision in the same transaction as any insert or delete of the run's configuration rows, and any update that changes a configuration row's analysis content (status, measures, summary_stats, experiment_parameters or metadata); writes that change none of these do not change it. In the run report, insights beyond 50 and warnings beyond 1000 are truncated server-side in a deterministic order, and a warning longer than 512 characters is omitted, never cut. The untruncated counts are reported as the integers meta.insights_total and meta.warnings_total, which the existing open meta map already accepts; no typed property is added. The description text of the five experiment-run views, their problem schemas, the shared trial reference and the deprecated legacy successors no longer cites backend file paths, line numbers, class, function or table names; the contract rules are unchanged and no schema keyword is touched. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Wording fixes for the five experiment-run view contracts. Only descriptions, changelog text and tests change; no schema structure changes.
What changes
invalid_cursorproblem.bad_requestno longer lists cursor cases. The leaderboard 400 text now matches Pareto's.trial_ref. The shared schema lists only the views that reference it: report, Pareto and leaderboard.insights_totalandwarnings_totalare optionalmetakeys, and the schema does not require or type them beyond the open meta value rule.Evidence
bash scripts/local_gate.shon HEAD: PASSED.python scripts/breaking_schema_check.py --check: BREAKING unacked 0, allowed 0, PASSED.python scripts/compile_changelog.py --check: 16 fragments valid.python scripts/refresh_parity.py --check: up to date.Ticket: none (contract wording)
Security note: Description-only change. No schema structure, validation rule or authorization behaviour changes. Removes private implementation references from public contract text.
Spine-Trail: st_08a194074bd1
🤖 Generated with Claude Code