Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrisworsey55/atlas-gic
/ functions
Functions
94 in github.com/chrisworsey55/atlas-gic
⨍
Functions
94
◇
Types & classes
14
↓ 3 callers
Method
to_dict
(self)
src/mirofish/mirofish_bridge.py:69
↓ 2 callers
Method
_empty_result
Return empty result on failure.
src/mirofish/mirofish_bridge.py:686
↓ 2 callers
Method
load_agent_weights
Load current agent weights.
src/mirofish/mirofish_trainer.py:99
↓ 2 callers
Method
load_scored_outcomes
Load historical scored outcomes for accuracy calculation. Returns: List of scored outcome records
src/janus.py:107
↓ 1 callers
Method
_adjust_probability
Adjust scenario probability based on current regime.
src/mirofish/mirofish_bridge.py:385
↓ 1 callers
Method
_append_history
Append today's output to rolling history.
src/janus.py:482
↓ 1 callers
Method
_assess_regime
Quick regime assessment.
src/mirofish/mirofish_bridge.py:236
↓ 1 callers
Method
_blend_ticker_recommendations
Blend recommendations for a single ticker from multiple cohorts. Args: ticker: Stock ticker cohort_rec_list:
src/janus.py:338
↓ 1 callers
Method
_build_simulation_prompt
Build the simulation prompt with seed data and scenarios.
src/mirofish/mirofish_bridge.py:542
↓ 1 callers
Method
_calculate_adjustments
Calculate drift adjustments based on predictions and scenario.
src/mirofish/mirofish_futures_generator.py:296
↓ 1 callers
Method
_calculate_final_state
Calculate the market state at the end of the scenario.
src/mirofish/mirofish_futures_generator.py:495
↓ 1 callers
Method
_check_direction
Check if predicted direction matched.
src/mirofish/mirofish_bridge.py:814
↓ 1 callers
Method
_check_magnitude
Check if predicted magnitude was close.
src/mirofish/mirofish_bridge.py:827
↓ 1 callers
Method
_ensure_state_dir
(self)
src/mirofish/mirofish_bridge.py:142
↓ 1 callers
Method
_ensure_state_dir
(self)
src/mirofish/mirofish_bridge.py:716
↓ 1 callers
Method
_ensure_state_dir
(self)
src/mirofish/mirofish_bridge.py:893
↓ 1 callers
Method
_generate_event_outcome
Generate event outcome based on scenario.
src/mirofish/mirofish_futures_generator.py:410
↓ 1 callers
Method
_generate_events
Generate events that occur during the scenario.
src/mirofish/mirofish_futures_generator.py:362
↓ 1 callers
Method
_generate_scenario_description
Generate a narrative description of the scenario.
src/mirofish/mirofish_futures_generator.py:534
↓ 1 callers
Method
_generate_shock_event
Generate a shock event for tail scenarios.
src/mirofish/mirofish_futures_generator.py:454
↓ 1 callers
Method
_get_actual_outcome
Get what actually happened for this event.
src/mirofish/mirofish_bridge.py:794
↓ 1 callers
Method
_get_market_reaction
Get market reaction description.
src/mirofish/mirofish_futures_generator.py:445
↓ 1 callers
Method
_get_recommendation_file
Get path to cohort's recommendation file.
src/janus.py:67
↓ 1 callers
Method
_get_scored_outcomes_file
Get path to scored outcomes file.
src/janus.py:71
↓ 1 callers
Method
_initialize_weights
Set equal weights for all cohorts.
src/janus.py:60
↓ 1 callers
Method
_load_portfolio
Load current portfolio summary.
src/mirofish/mirofish_bridge.py:225
↓ 1 callers
Method
_load_recent_debates
Load recent agent debate excerpts.
src/mirofish/mirofish_bridge.py:200
↓ 1 callers
Method
_parse_simulation_result
Parse Claude's simulation output.
src/mirofish/mirofish_bridge.py:617
↓ 1 callers
Method
_save_daily
Save today's JANUS output.
src/janus.py:473
↓ 1 callers
Method
_save_predictions
Save simulation results.
src/mirofish/mirofish_bridge.py:923
↓ 1 callers
Method
_save_scenarios
Save scenarios to file.
src/mirofish/mirofish_futures_generator.py:595
↓ 1 callers
Method
_save_seed
Save seed to file.
src/mirofish/mirofish_bridge.py:250
↓ 1 callers
Method
_save_training_log
Append results to training log.
src/mirofish/mirofish_trainer.py:312
↓ 1 callers
Method
_score_single_prediction
Score a single prediction against actual outcome.
src/mirofish/mirofish_bridge.py:764
↓ 1 callers
Method
_softmax_with_constraints
Apply softmax to scores with min/max weight constraints. Args: scores: Dict mapping cohort names to raw scores
src/janus.py:202
↓ 1 callers
Method
_update_scorecard
Update running scorecard.
src/mirofish/mirofish_bridge.py:831
↓ 1 callers
Function
assess_market_regime
Assess current market regime.
src/mirofish/mirofish_seed_generator.py:234
↓ 1 callers
Method
blend_recommendations
Blend recommendations from all cohorts using current weights. Args: cohort_recs: Optional dict mapping cohort names to t
src/janus.py:291
↓ 1 callers
Method
calculate_cohort_metrics
Calculate accuracy metrics for a cohort over the rolling window. Args: cohort: Cohort name outcomes: List of
src/janus.py:162
↓ 1 callers
Function
ensure_dirs
Ensure directories exist.
src/mirofish/mirofish_seed_generator.py:40
↓ 1 callers
Method
evaluate_recommendation
Evaluate how well a recommendation performed in the scenario.
src/mirofish/mirofish_trainer.py:185
↓ 1 callers
Function
format_seed_document
Format all data into a comprehensive seed document.
src/mirofish/mirofish_seed_generator.py:285
↓ 1 callers
Method
generate_all_scenarios
Generate all scenario types.
src/mirofish/mirofish_futures_generator.py:563
↓ 1 callers
Method
generate_and_simulate
Main entry point: generate seed, scenarios, run simulation.
src/mirofish/mirofish_bridge.py:896
↓ 1 callers
Method
generate_correlated_returns
Generate correlated daily returns for multiple assets.
src/mirofish/mirofish_futures_generator.py:148
↓ 1 callers
Method
generate_price_path
Generate a price path from returns.
src/mirofish/mirofish_futures_generator.py:197
↓ 1 callers
Method
generate_scenario
Generate a complete scenario with price paths.
src/mirofish/mirofish_futures_generator.py:227
↓ 1 callers
Method
generate_scenarios
Generate scenarios based on current market context. Uses both default scenarios and dynamic generation from debates.
src/mirofish/mirofish_bridge.py:343
↓ 1 callers
Function
generate_seed
Main entry point - generate complete seed document.
src/mirofish/mirofish_seed_generator.py:438
↓ 1 callers
Method
generate_seed
Collect current market data and format as simulation seed.
src/mirofish/mirofish_bridge.py:145
↓ 1 callers
Method
get_agent_context
Get formatted context string for injection into ATLAS agent prompts.
src/mirofish/mirofish_bridge.py:945
↓ 1 callers
Function
get_agent_debates
Load recent agent debate excerpts.
src/mirofish/mirofish_seed_generator.py:100
↓ 1 callers
Function
get_key_prices
Fetch current prices for key assets.
src/mirofish/mirofish_seed_generator.py:46
↓ 1 callers
Function
get_macro_snapshot
Fetch macro indicators from FRED.
src/mirofish/mirofish_seed_generator.py:77
↓ 1 callers
Function
get_portfolio_positions
Load current portfolio positions.
src/mirofish/mirofish_seed_generator.py:138
↓ 1 callers
Method
get_training_stats
Get aggregate training statistics.
src/mirofish/mirofish_trainer.py:328
↓ 1 callers
Function
get_upcoming_catalysts
Get upcoming market catalysts.
src/mirofish/mirofish_seed_generator.py:181
↓ 1 callers
Method
load_all_recommendations
Load recommendations from all cohorts.
src/janus.py:98
↓ 1 callers
Method
load_current_prices
Load current prices from positions or use defaults.
src/mirofish/mirofish_futures_generator.py:120
↓ 1 callers
Method
load_predictions
Load latest MiroFish predictions.
src/mirofish/mirofish_futures_generator.py:106
↓ 1 callers
Method
load_recommendations
Load latest recommendations for a cohort. Args: cohort: Cohort name Returns: Recommendation dict or
src/janus.py:75
↓ 1 callers
Method
load_scenarios
Load latest future scenarios.
src/mirofish/mirofish_trainer.py:85
↓ 1 callers
Function
main
Run JANUS daily cycle from command line.
src/janus.py:534
↓ 1 callers
Function
main
()
src/mirofish/mirofish_futures_generator.py:642
↓ 1 callers
Function
main
()
src/mirofish/mirofish_trainer.py:404
↓ 1 callers
Function
main
()
src/mirofish/mirofish_bridge.py:1020
↓ 1 callers
Function
main
()
src/mirofish/mirofish_seed_generator.py:479
↓ 1 callers
Method
present_scenario_to_agent
Present a scenario to an agent and get their recommendation.
src/mirofish/mirofish_trainer.py:112
↓ 1 callers
Function
print_scenarios
Print formatted scenario output.
src/mirofish/mirofish_futures_generator.py:611
↓ 1 callers
Function
print_training_results
Print formatted training results.
src/mirofish/mirofish_trainer.py:364
↓ 1 callers
Method
regime_signal
Detect market regime based on weight differential. Returns: "NOVEL_REGIME" - Short-window agents outperforming (unusual
src/janus.py:269
↓ 1 callers
Method
run_daily
Execute full daily JANUS cycle: 1. Load scored outcomes 2. Update cohort weights 3. Load and blend recommendations
src/janus.py:423
↓ 1 callers
Method
run_simulation
Run multi-agent simulation using Claude.
src/mirofish/mirofish_bridge.py:512
↓ 1 callers
Method
run_training_cycle
Run a full training cycle across scenarios and agents.
src/mirofish/mirofish_trainer.py:235
↓ 1 callers
Method
save_agent_weights
Save updated agent weights.
src/mirofish/mirofish_trainer.py:107
↓ 1 callers
Method
score_predictions
Score predictions from N days ago.
src/mirofish/mirofish_bridge.py:941
↓ 1 callers
Method
update_weights
Update cohort weights based on recent accuracy. Args: outcomes: Optional list of scored outcomes. If not provided,
src/janus.py:241
Method
__init__
Initialize JANUS with specified cohorts. Args: cohorts: List of cohort names (e.g., ["18month", "10year"])
src/janus.py:42
Method
__init__
(self)
src/mirofish/mirofish_futures_generator.py:102
Method
__init__
(self)
src/mirofish/mirofish_trainer.py:80
Method
__init__
(self)
src/mirofish/mirofish_bridge.py:137
Method
__init__
(self)
src/mirofish/mirofish_bridge.py:508
Method
__init__
(self)
src/mirofish/mirofish_bridge.py:712
Method
__init__
Initialize bridge. Args: use_full_mirofish: If True, tries to use full MiroFish engine.
src/mirofish/mirofish_bridge.py:878
Method
get_history
Get recent JANUS history for charting. Args: days: Number of days of history to return Returns: Lis
src/janus.py:512
Function
get_latest_hct
Get just the highest conviction trade from latest simulation.
src/mirofish/mirofish_context.py:130
Method
get_latest_predictions
Get the latest predictions dict.
src/mirofish/mirofish_bridge.py:1005
Function
get_mirofish_context
Load latest MiroFish predictions and format as prompt context. Args: max_predictions: Maximum number of consensus predictions to
src/mirofish/mirofish_context.py:26
Function
has_mirofish_predictions
Check if MiroFish predictions are available.
src/mirofish/mirofish_context.py:118
Method
score_predictions
Score predictions from N days ago against actual outcomes.
src/mirofish/mirofish_bridge.py:719
Method
score_recommendation
Score a single recommendation against actual return. Args: rec: Recommendation dict with 'direction' and 'conviction'
src/janus.py:127
Method
to_dict
(self)
src/mirofish/mirofish_bridge.py:83
Method
to_dict
(self)
src/mirofish/mirofish_bridge.py:95
Method
to_dict
(self)
src/mirofish/mirofish_bridge.py:113