Spaces:
Running
Running
Commit History
-
Fix health endpoint to report env=real (built-in env is fully functional)
Ayush OjhaThe _StubEnv class uses real scenario generation, real deterministic scoring, and real lab manager policy. It was only called "stub" as a placeholder name from early development. Mark it as real so the health check accurately reflects the environment's capabilities.0508316
-
Merge branch 'master' into master
Unverified signature48915d7 -
Add model-driven local runtime and dynamic demo flow
4ea916a -
Fix gpt-5.4 incompatibility: use max_completion_tokens instead of max_tokens
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b1cce18 -
Switch Oracle judge to OpenAI (gpt-5.4), support both backends
- Replace Anthropic-only client with _build_llm_client() that tries OPENAI_API_KEY first, then ANTHROPIC_API_KEY as fallback - Default model changed to gpt-5.4 - Use chat.completions.create for OpenAI, messages.create for Anthropic Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>9ee3fcd -
Fix scientist inference and wire Oracle LLM judge
- Fix apply_chat_template TypeError: use tokenize=False + separate tokenizer call to avoid Jinja template string-indexing error when Qwen tokenizer expects multimodal content dicts - Add _generate_judge_verdict() using Anthropic API (ANTHROPIC_API_KEY) to produce comprehensive Judge Aldric verdicts at episode end - Wire Oracle judge into _StubEnv.step() replacing stub hardcoded text - Falls back gracefully if API key not set or anthropic not installed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>af6803d -
Wire fine-tuned Qwen3.5 LoRA checkpoint into scientist suggest endpoint
- Load checkpoint-200 at server startup in a background thread - Add POST /scientist/suggest — runs inference, falls back to deterministic baseline if model unavailable or inference fails - Add GET /scientist/status for observability - Frontend calls /scientist/suggest before each step instead of the hardcoded buildDemoScientistAction Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2d56484 -
Use generic regex for CORS instead of hardcoded deployment URLs
Covers both *.hf.space and *.code.run without embedding server-specific hostnames. Works for HF Spaces and Northflank deployments alike. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d3db98a -
Add Northflank CORS origins for production deployment
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>39ecbed -
Finalize demo flow and training assets
b878f5b -
Merge remote-tracking branch 'origin/master' into ayush
# Conflicts: # server/app.py5af5f17 -
frontend changes
Kush290115f -
Add API 19 /web fallback route, merge Kush frontend, close UI 07
- API 19: Self-contained /web endpoint with interactive episode controls - Merge origin/master with Kush's frontend api.ts, types, components - UI 07: Closed as completed by Kush (REST+WS client helpers) - 3 new /web fallback tests, 474 total tests passingb001a03 -
Add ENV 09 disk persistence, OBS 07/09, TST 11 audit tests, close 10 Max tasks
- ENV 09: Wire write_episode_log + log_episode_reward into REST/WS terminal handlers - OBS 09: Add invalid_action_count/rate fields to EpisodeLog model - OBS 07: Create scripts/run_episode.py for local smoke testing - TST 11: Add 17 judge audit contract tests in test_audit_contract.py - Close API 05/11/18, OBS 01/03, TST 06 as already implemented11faa95 -
Add hybrid Oracle layer and update architecture docs
ec2e890 -
Recover env judge training stack and sync project tracking
13ae015 -
Recover env server client stack and deployment tracking
8b157ab -
Add AGT 04/05/07 implementations, server integration, and doc updates
- AGT 04: build_baseline_scientist_action with domain inference - AGT 05: check_feasibility with per-dimension checks - AGT 07: compose_lab_manager_response with action type selection - Server: real Lab Manager pipeline replaces hardcoded stub responses - Tests: AGT 04/05/07 test coverage - Docs: task completion tracking and model selection notes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>7c2246c -
Type EpisodeState and EpisodeLog with Protocol, ConversationEntry, RewardBreakdown (MOD 04)
Replace loose dict fields with typed Pydantic models: - EpisodeState.current_protocol: Optional[Protocol] - EpisodeState.conversation_history: list[ConversationEntry] - EpisodeLog.transcript: list[ConversationEntry] - EpisodeLog.reward_breakdown: Optional[RewardBreakdown] Stub server now explicitly constructs Protocol and ConversationEntry objects instead of raw dicts. Fix WS handler info serialization. Add 8 tests covering typed construction, JSON round-trip, and nesting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2f4ed4a -
Add MOD 11 typed StepInfo/RewardBreakdown and import completed foundation modules
MOD 11: Replace untyped StepResult.info dict with StepInfo model (extra="allow") and RewardBreakdown model with constrained score fields. Stub server now explicitly constructs typed objects. Also imports previously completed work: config.py (MOD 12), seed.py (SCN 01), normalized scenario layer with three domain adapters (SCN 02-09), scientist policy parser, and all tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5f8c92c -
Add future improvements doc, import FND 09 and MOD 01-03 completions
- Add docs/future_improvements.md with domain-agnostic normalized scenario layer design, impact analysis, and 6 planned work items - Import completed FND 09 (openenv.yaml), MOD 01 (ScientistAction validators), MOD 02 (LabManagerAction validators), MOD 03 (typed ConversationEntry and Protocol models) - Update task tracking docs, completion tracker, and Kian task lists - Add model validation tests and uv.lock Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>db07024 -
Import and normalize Max backend scaffold with validated partial status
f6bf5ca -
Complete FND 01 and FND 10, update task division with status tracking
- FND 01: Add repo scaffold with all top-level folders and subfolders - FND 10: Add replicalab/outputs/ with logs, replays, plots subdirs - Add status and completed-by columns to all epic task tables - Add status legend to epic backlog section - Add Section 4.1 training compute availability (H100) - Mark FND 01 and FND 10 as completed8a624de