feat: implement Phase 1B - variance collection automation
Extend nyx-probing with automated variance collection using nyx-substrate for database persistence. Adds 4 new CLI commands for collecting and analyzing variance in Echo Probe measurements. New Features: - VarianceRunner: Automated 1000x probe collection with progress bars - 4 new CLI commands: - variance collect: Single term variance collection - variance batch: Batch collection from glossary files - variance stats: View session statistics - variance analyze: Cross-session variance analysis - Full integration with nyx-substrate database layer Files Added: - nyx_probing/runners/__init__.py: Runner module initialization - nyx_probing/runners/variance_runner.py: VarianceRunner class (~200 LOC) - nyx_probing/cli/variance.py: CLI commands (~250 LOC) Files Modified: - pyproject.toml: Added nyx-substrate>=0.1.0 dependency - nyx_probing/cli/probe.py: Registered variance command group - data/glossary/master.json: Updated from scanning Integration: - nyx-probing → nyx-substrate → phoebe (PostgreSQL) - Stores each probe run in variance_probe_runs table - Rich progress bars and statistics display - Session-based tracking with UUIDs Usage Examples: nyx-probe variance collect "Geworfenheit" --runs 1000 nyx-probe variance batch depth_3_champions.json nyx-probe variance stats <SESSION_ID> nyx-probe variance analyze "Geworfenheit" Status: Phase 1B complete, ready for baseline collection 🌙💜 Generated with Claude Code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,7 @@ from nyx_probing.core.model import NyxModel
|
||||
from nyx_probing.probes.surface_probe import SurfaceProbe
|
||||
from nyx_probing.probes.echo_probe import EchoProbe
|
||||
from nyx_probing.analysis.readiness_scorer import ReadinessScorer
|
||||
from nyx_probing.cli.variance import variance
|
||||
|
||||
console = Console()
|
||||
|
||||
@@ -69,12 +70,16 @@ def detect_category(completions: list) -> str:
|
||||
def cli():
|
||||
"""
|
||||
🌙 nyx-probe: Probe the Young Mind's conceptual topology.
|
||||
|
||||
|
||||
Explore how Qwen2.5-7B-Base understands and associates concepts.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
# Register variance command group
|
||||
cli.add_command(variance)
|
||||
|
||||
|
||||
@cli.command()
|
||||
@click.argument("term")
|
||||
@click.option("-n", "--runs", default=3, help="Number of completion runs")
|
||||
|
||||
Reference in New Issue
Block a user