← Back to Pull requests

Downsampling transformation interface, short-form references, short example IDs #61

Closed
unknown closed this pull request without merging on Nov 13, 2026 23:04 UTC
View on GitHub
unknown unknown commented on Nov 13, 2026 15:28 UTC
Author

Addresses #54, #56 and #57, one commit per issue.

#54: Downsampling transformations


  • New Downsampling Transformation interface: type is scale or translation with its parameter; input/output are implicit and MUST NOT be present. Includes rules for casting into a full coordinate transformation (a scale, or a sequence of scale + translation).

  • downsamplingTransformations on Array objects points to that interface; its type is fixed from object to array.

  • Since arrays are not declarations (#43), the multiscale-level transform's input now references the multiscale itself, standing for its highest-resolution array. Removed ids from array objects and the mention of arrays in the Declaration interface.
  • #56: Short-form references


  • A reference may be a string: the ID of a declaration in the same document, allowed where the field determines the target type (e.g. a transform's output). It is equivalent to {type: <implied>, ref: <string>} without path.

  • Object references remain for references into other documents (with path).

  • Coordinate transformation input/output accept both forms; same-document references SHOULD be strings.

  • Fixed the first coordinate transformations example (forbidden name field, output without type); updated examples/ to use strings for same-document references.
  • #57: Short IDs


  • UUIDs in RFC examples replaced with short IDs (000001, ...), consistent within each example and across referenced documents.

  • One UUIDv7 example kept in the ID rules.

  • Added missing node ids and coordinate system types to some examples, and fixed a missing comma.
  • Not updated: rfc8_revision_changes.md, which still describes the round-1 proposal.

    Closes #54
    Closes #56
    Closes #57

    🤖 Generated with Claude Code

    Diff: 229 lines (+171 / -58) across 2 files Reviewer: jni Review duration: 455m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 229 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.325
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #61"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 37.0% (MEDIUM) · Higher = larger blast radius
    37.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.6% · Safe to merge
    14.6%