Skip to content

[Do not merge] count14 DYNTEAM / DYNTEAM_RACING experiment code for review (frozen V44) - #20

Draft
Yan Xia (sd983527) wants to merge 2 commits into
microsoft:mainfrom
sd983527:count14-dynteam-v44-review
Draft

Yan Xia (sd983527) wants to merge 2 commits into
microsoft:mainfrom
sd983527:count14-dynteam-v44-review

Conversation

@sd983527

@sd983527 Yan Xia (sd983527) commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Draft for review only — please do not merge. Experiment code is kept out of main; this PR exists so reviewers can read and comment on the code that runs the count14 comparison.

What this is

A read-only export, under experiments/count14-dynteam-v44/, of the orchestration code for the count14 experiment that compares two team setups:

  • DYNTEAM: dynamic autonomous team (worker / checker / tester with native dynamic membership)
  • DYNTEAM_RACING: the same team plus the RACING brainstorming/racing mechanism

Each arm runs three paired blocks (b1–b3, shared seeds), six independently budgeted trajectories of 100M SEARCH tokens each, with checkpoints at 10M/20M/50M/100M and K3 v2.1 finalization at every checkpoint.

The tree is exactly what the current run (N33) loads: one copy of each component, deduplicated from the frozen V44 delivery. 458 files are byte-identical to the frozen source, and MAPPING.json maps each one back to its original path and SHA-256.

Where to start

  • README.md: experiment invariants, architecture and directory guide, request/control flow, the list of fixes made during N25–N33, known limitations, and how the tree relates to the frozen source
  • CONFIGURATION.md and count14.env.example: the settings you have to fill in
Directory Contents
relay/ Scientific relay, ledger, budget reservation, provider/gateway clients
admission/ Resource sampling, health-gated admission, system probes
adapter/, runtime/ count14 adapter, cold owner/custody runtime, checkpoint cuts
finalization_k3/ K3 v2.1 finalization children and framework
racing_integration/ RACING host/guest integration, including the bounded setup completion
framework/, contracts/, ops_tools/ Shared framework, frozen two-arm contract, ops helpers
patches/ Our changes to the guarded agent/router and SDK overlay, relative to the delivered beta snapshot

Baselines

The two baselines are not commits in this repository:

  • DYNTEAM: zhihao/beta_dev @ 70e2ca54c078597e3314755064d2ef1a83344c8e
  • RACING: moa/racing @ 21a0413e3262cebd5c6ac314974710937b9741b0

Unchanged upstream trees are not vendored. The beta-side changes are provided as unified patches. There is no RACING patch, because the unmodified baseline blob was not in the frozen input (see the README).

Endpoints, credentials and host settings

No gateway addresses, API keys, dashboard URLs or testbed host details are in the code. Fill in count14.env.example (documented in CONFIGURATION.md):

  • Gateway and key: COUNT14_GLM_BASE_URL, COUNT14_GLM_LEGACY_BASE_URL, COUNT14_GLM_KEY_RELPATH, COUNT14_GLM_KEY_SOURCE_FILE
  • Testbed host and disks: COUNT14_SCRATCH_ROOT, COUNT14_SCRATCH1_ROOT, COUNT14_HOSTNAME, COUNT14_HOST_BOOT_ID, COUNT14_SCRATCH_FS_UUID, COUNT14_RETIRED_OWNER_BOOT_ID

How the edits work:

  • Python files: each one reads its values through a few _C14_* = os.environ.get(...) constants. Unset values fall back to obviously invalid placeholders, so a missing setting fails at once instead of quietly using some other host.
  • Shell launcher: uses ${COUNT14_SCRATCH_ROOT} directly.
  • Frozen JSON contract: uses ${COUNT14_SCRATCH_ROOT} placeholders, which a loader has to expand.

67 files differ from the frozen source because of these edits; CONFIGURED_FILES.json records the original and published SHA-256 for each. A few output-record field names still contain the original host label (for example Dev4=False). They are record keys other components read, not settings.

Excluded

  • Run data: ledgers, queues, observations, logs and build evidence
  • Task, candidate and model content
  • Credential files
  • Files that embed large opaque data blobs, which were excluded without being opened
  • Vendored upstream trees

Verification

cd experiments/count14-dynteam-v44
python3 tools/verify_mapping.py   # integrity, dedup, syntax, credential-pattern guard

Result: PASS, 533 files, 5.7 MB. With --payload <frozen V44 PAYLOAD>, the check also confirms that the 458 verbatim files, the recorded originals of the 67 configured files, and both patches match the frozen source byte for byte. Only syntax checks were run; there is no runtime qualification in this tree.

🤖 Generated with Claude Code

Yan Xia (sd983527) and others added 2 commits November 16, 2026 09:27
Read-only review export of the orchestration code that runs the count14
DYNTEAM and DYNTEAM_RACING comparison (b1-b3 x 100M, K3 v2.1). One copy
per component at the version the N33 run loads, plus patches against the
external baselines (zhihao/beta_dev 70e2ca54, moa/racing 21a0413e).

Gateway URLs and provider-key locations are read from environment
variables (CONFIGURATION.md, count14.env.example); no keys, gateway
addresses or dashboard URLs are included. Not intended to be merged.

Co-Authored-By: Claude <noreply@anthropic.com>
Scratch mounts, host name, boot IDs and the scratch filesystem UUID of the
original testbed are no longer hard-coded. Python code reads them from
COUNT14_SCRATCH_ROOT, COUNT14_SCRATCH1_ROOT, COUNT14_HOSTNAME,
COUNT14_HOST_BOOT_ID, COUNT14_RETIRED_OWNER_BOOT_ID and
COUNT14_SCRATCH_FS_UUID; the shell launcher uses the same variables and
the frozen contract uses ${COUNT14_SCRATCH_ROOT} placeholders.
CONFIGURATION.md and count14.env.example document every setting, and
CONFIGURED_FILES.json records original/published hashes (67 files).

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant