← Back to Pull requests

Ark-IOP + Ark-VC #25

Open
unknown opened this pull request with 182 lines diff across 2 files
View on GitHub
unknown unknown commented on May 04, 2026 19:24 UTC
Author

Description

  • IORs. IOR trait + prove_ior!/verify_ior! macros. Same shape per phase. Layout reorganized around it.

  • ark-vc. Protocol code now generic over V: MultiVectorCommitment<Alphabet = F>. Zero merkle/hasher/shape/cap in src/. Concrete instantiation only in tests/benches. Opening proofs go through the spongefish transcript via V::open_multiple/V::check_multiple; auth_0/auth_j gone from WARPProof. Three small upstream PRs landed: spongefish bridges for MerkleSchemeCommitment, bounded PartialEq/Eq, dropped WarpShape.

  • Other integrations. gr1cs. effsc + spongefish 0.7.0.

  • Soundness. R1CS::description serializes the full matrix triple — index() binds the relation.

  • Perf. Rayon-parallel evaluate_bundled. Fused (f + ω·p)·t in TC sumcheck.

  • Observability. Op-counter + cpu_ns JSON tracing, iai-callgrind benches.

  • Tests. Negative-path verifier suite + FS audit.

  • API. Paper-letter fields → <letter>_<descriptive> (e.g. rt_merkle_roots → rt_commitments). WARP::new(ck, vk) not hasher. WARPConfig(l1, l2), l derived. Renames: BundledPESAT → PolyPredicate, ToPolySystem → Arithmetize, WARPProverKey.k → k_num_witness_vars. Modules: crypto/merkle/ → crypto/vc.rs, oracles/indexed_merkle.rs → oracles/indexed.rs.
  • Test plan

  • cargo test --lib --tests

  • cargo clippy --all-targets

  • iai-callgrind benches
  • Diff: 182 lines (+136 / -46) across 2 files Reviewer: z-tech Review duration: 234528m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.43) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 182 lines diff across 2 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    44%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.312
    Real PR Conversation Timeline
    1 comments
    "Review active on #25"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.7% 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: 42.6% (MEDIUM) · Higher = larger blast radius
    42.6%
    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: 44.7% · Lower = rushed or shallow review
    44.7%
    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: 23.6% · Safe to merge
    23.6%