Skip to content

feat(experiments): Phase C — experiment ledger, contact-zone templates, A/B language templates, cross-culture matrix#33

Draft
tbitcs wants to merge 1 commit into
phase-nextfrom
overhaul/experiments
Draft

feat(experiments): Phase C — experiment ledger, contact-zone templates, A/B language templates, cross-culture matrix#33
tbitcs wants to merge 1 commit into
phase-nextfrom
overhaul/experiments

Conversation

@tbitcs
Copy link
Copy Markdown
Contributor

@tbitcs tbitcs commented Jun 1, 2026

Phase C — Experiment Consolidation and New Templates

Changes

Experiment Ledger (Task 1)

  • Created experiment_ledger.json cataloging all 60+ experiment phase files with phase numbers, categories, status, purpose, key nodes, and recommendations
  • Created EXPERIMENT_LEDGER.md human-readable summary table

Metadata Endpoint (Task 2)

  • Added get_experiment_metadata() function in experiment_graph.py that merges ledger JSON with live ATOMIC_NODES registration
  • Added GET /api/v1/experiments/metadata endpoint in api/experiments.py

Contact-Zone Templates (Task 3)

  • experiment_graph_contact_zone.py: ContactZoneKLDivergence, ContactZoneSynthesis, ContactZoneABComparison nodes
  • Registered as contact_zone_kl_v1, contact_zone_synthesis_v1, contact_zone_ab_v1

A/B Language Templates (Task 4)

  • experiment_graph_ab_language.py: AnchoredSALanguageAB (parameterized), LMConsistencyMatrix
  • Supports ab_dravidian_vs_sanskrit, ab_dravidian_vs_munda, ab_dravidian_vs_hebrew via params

Cross-Culture Matrix (Task 5)

  • experiment_graph_cross_culture.py: CulturalContactMatrix, ScriptFamilyClassifier
  • Registered as cross_culture_contact_matrix_v1, script_family_classifier_v1

UI Improvements (Task 6)

  • New ExperimentRegistry.tsx collapsible component on Dashboard
  • Category filter chips, status badges (active/superseded/legacy), description tooltips
  • Shows active experiments by default with toggle for all
  • Added ExperimentLedgerEntry type and getExperimentMetadata API function in api.ts

Build

  • Frontend: vite build passes (232 modules, 0 TS errors)
  • All new Python files have no syntax errors; modules registered in ATOMIC_NODES

Conversation: https://app.warp.dev/conversation/f537b6e8-ae14-4567-93d8-bba73052b94b
Run: https://oz.warp.dev/runs/019e84ec-7a7d-7580-b7a6-7d60ac806f84
This PR was generated with Oz.

…s, A/B language templates, cross-culture matrix

- Add experiment_ledger.json and EXPERIMENT_LEDGER.md cataloging all 60+ phase files
- Add EXPERIMENT_METADATA dict + GET /api/v1/experiments/metadata endpoint
- Create experiment_graph_contact_zone.py (KLDivergence, Synthesis, ABComparison)
- Create experiment_graph_ab_language.py (AnchoredSALanguageAB, LMConsistencyMatrix)
- Create experiment_graph_cross_culture.py (CulturalContactMatrix, ScriptFamilyClassifier)
- Register all new node modules in experiment_graph.py ATOMIC_NODES
- Add ExperimentLedgerEntry type + getExperimentMetadata API in frontend api.ts
- Add ExperimentRegistry collapsible component in DashboardView with category
  filter chips, status badges, and description tooltips

Co-Authored-By: Oz <oz-agent@warp.dev>
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