How google-research/era works
ERA’s example workflow prepares a regression task, uses FUTS to select and expand candidate solutions, generates code through Gemini, executes candidates in a sandbox, and scores them by RMSE before returning the best. The graph also preserves the repository’s documented scientific-application branch. The sampled sandbox implementation is only an interface stub; the README’s alternative notebook workflow and application details were not inspected beyond documentation.
Main entry points: playground_s3e1.py Experiment runner · futs.py FUTS search · llm.py Gemini adapter · playground-series-s3e1 Housing data
Components 15
Experiment workflow
- Experiment runner
implementation/playground_s3e1.py - Data preparation
implementation/playground_s3e1.py - Housing data
implementation/data/playground-series-s3e1 - Candidate generator
implementation/playground_s3e1.py - Gemini adapter
implementation/llm.py - Candidate executor
implementation/playground_s3e1.py - Sandbox interface
implementation/sandbox.py - Generated program
implementation/playground_s3e1.py - RMSE scoring
implementation/playground_s3e1.py - Search progress
implementation/playground_s3e1.py
FUTS search
- FUTS search
implementation/futs.py - PUCT selection
implementation/futs.py
Scientific extensions
- Research applications
era_applications
Other components
- Scientist
- Gemini API
Connections 16
- Scientist → Experiment runner: runs
README.md - Experiment runner → Data preparation: prepares data
implementation/playground_s3e1.py - Data preparation → Housing data: reads and splits
implementation/playground_s3e1.py - Experiment runner → Candidate generator: configures
implementation/playground_s3e1.py - Candidate generator → Gemini adapter: requests code
implementation/playground_s3e1.py - Gemini adapter → Gemini API: generates content
implementation/llm.py - Experiment runner → FUTS search: starts search
implementation/playground_s3e1.py - FUTS search → PUCT selection: selects by PUCT
implementation/futs.py - FUTS search → Candidate generator: expands candidate
implementation/futs.py - FUTS search → Candidate executor: evaluates candidate
implementation/futs.py - Candidate executor → Sandbox interface: runs program
implementation/playground_s3e1.py - Candidate executor → Housing data: loads split files
implementation/playground_s3e1.py - Candidate executor → RMSE scoring: scores predictions
implementation/playground_s3e1.py - Candidate generator → Generated program: returns code
implementation/playground_s3e1.py - Experiment runner → Search progress: records history
implementation/playground_s3e1.py - Scientist → Research applications: explores research
README.md