Skip to content

Validate node partitions and five-seed experiment summaries - #1

Merged
dt-xde merged 1 commit into
mainfrom
fix/validate-experiment-inputs
Nov 3, 2026
Merged

dt-xde merged 1 commit into
mainfrom
fix/validate-experiment-inputs

Conversation

@dt-xde

@dt-xde dt-xde commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Validate each node's group assignment before sampling perturbations. Require compatible training and evaluation settings across the seeds of a reported experiment.

Background

A one-element partition could broadcast a single noise vector to every node. Runs with different partitions or training settings could also form a five-seed cell when their seed numbers did not overlap.

Changes

  • Check input shape, integer labels, contiguous group IDs and the node count.
  • Record a seed-independent protocol ID. Check stored launch settings when available and recognize the two archived reference tables by checksum.
  • Run the offline CPU tests and the reference-data checks on pull requests.

Testing

  • All 12 tests passed locally, including the training entry point on a synthetic graph.
  • On Cora, a two-epoch CPU run reproduced its original per-epoch log, selected checkpoint metrics and split. A singleton partition, fractional labels and non-contiguous labels were rejected.
  • Aggregating all 1,170 main-table and 640 control records produced byte-identical summaries before and after the change.

Copilot AI balanced review requested due to automatic review settings November 3, 2026 07:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@dt-xde
dt-xde merged commit 21f4f5e into main Nov 3, 2026
1 check passed
@dt-xde
dt-xde deleted the fix/validate-experiment-inputs branch November 3, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants