Commit History

News input: bump glow intensity β€” peak inner shadow 26px @ 40%, outer halo 48px @ 16%, border to 65% sage. Focus state matches with 22px+44px halo.
6b6d332
verified

77ethers commited on

News input: subtle sage glow pulse (3.4s loop, 6px β†’ 14px box-shadow). Steady solid sage focus state replaces the pulse while typing.
582741f
verified

77ethers commited on

Chart skeletons during planning: showChartSkeletons() fires at planQuarter start, hideChartSkeletons() lifts on trained_done. Same fade-out behaviour as boot. Also clears on stream failure / model error so skeletons can never get stuck.
45c9c44
verified

77ethers commited on

Skeleton loaders: enforce 700ms minimum visible window so the shimmer is perceivable even on warm Spaces (boot fetch resolves in <300ms otherwise). Smooth 350ms fade-out before swapping to the rendered charts.
f0757b9
verified

77ethers commited on

Skeleton loaders on the 3 chart panels (NAV, Carbon, Allocation) during the boot fetch β€” pulsing 'Loading…' label + cream shimmer over a dashed panel-3 box. Cleared once /api/baselines + /api/random-news-batch resolve.
69c8df5
verified

77ethers commited on

Empty-input validation + richer news helper: 'Write the macro news to simulate portfolio allocation, or choose from <sample1> Β· <sample2> Β· generate another news'. Samples are clickable and auto-fill the textarea; 'generate another' refetches a fresh pair. Helper visibility is now content-driven (shown when textarea empty).
6be65bf
verified

77ethers commited on

Header: replace lightbulb icon with a glowing 'Know more' pill (cream gradient + pulsing box-shadow + dot prefix). Same id/onclick wiring so the intro modal still re-opens.
f0f0bf9
verified

77ethers commited on

NAV chart: rename header to 'Portfolio Value as per last 3 years Historical Equal-Weighted Benchmark' + add italic disclaimer below the chart that historical performance is not a guarantee of future performance.
5d5ad69
verified

77ethers commited on

Loader: removed modal popup entirely. Plan Portfolio button now hosts the 3-step checklist itself β€” clicking flips it from 'PLAN PORTFOLIO' to a dark status board with [GRPO ⟳] [SFT β—―] [base β—―] pills that tick to sage βœ“ as each stream completes. Reverts to default once base finishes.
5542965
verified

77ethers commited on

UX: hide loader as soon as GRPO is done β€” dashboard becomes interactive immediately while SFT and base continue streaming silently into the comparison panel. Blur dropped 1px β†’ 0.5px.
4ad1dcc
verified

77ethers commited on

Fix: remove orphan else{} block in selectQuarter (leftover from judge removal regex). JS no longer throws SyntaxError on page load.
efd5919
verified

77ethers commited on

Loader: 3-row checklist (GRPO/SFT/base) that ticks as each inference completes; minimal blur + dark overlay (rgba(0,0,0,0.78), 1px blur). Loader stays open until base_done; auto-hides 700ms after final tick.
11776fd
verified

77ethers commited on

Remove DeepSeek judge entirely (server constants/functions/SSE phases + frontend HTML/CSS/JS/state). Comparison panel keeps the 3-way GRPO/SFT/base model progression β€” without an external judge.
f9aac43
verified

77ethers commited on

Intro modal: user-edited copy expansion (env + agent contribution).
ac1762b
verified

77ethers commited on

Intro modal: reframe section 01 'The challenge' as an ambitious build goal (return + carbon co-equal) instead of a constraint list.
b97d62c
verified

77ethers commited on

Intro modal: add 'Re-planning has a cost' section between Long-horizon thinking and How it was trained.
e5ae940
verified

77ethers commited on

Replace 5-card strip with first-load intro modal: 4 numbered sections (challenge, long-horizon thinking, training, what you can do here) in big, simple type. Persistent lightbulb button in the header re-opens it. Dismissal cached in localStorage. Loader blur halved (4px β†’ 2px).
e2ed269
verified

77ethers commited on

Training-progression comparison: 3-way A/B/C across CarbonAlpha-GRPO, CarbonAlpha-SFT, base Qwen 2.5 7B IT β€” both adapters loaded via PEFT multi-adapter, switchable via set_adapter(). Judge prompt + JSON schema extended to 3 responses with score_a/b/c per criterion. Added 5-card 'How it works' explainer above the news input.
44274d2
verified

77ethers commited on

Switch to GRPO Phase-1 adapter (grpo_qwen25_7b_adapter_phase1_100_v1, 100 steps, 5/5 holdout beats baseline, mean regret 0.106). MODEL_SUBFOLDER env var lets us A/B back to the SFT adapter without code change. UI tag + README updated.
81dc8a6
verified

77ethers commited on

Fix DeepSeek model IDs (deepseek-ai/DeepSeek-V4-Pro et al β€” was wrong namespace before, hence non-JSON via V3.1 fallback). Server-side robust JSON extractor + validator now ships parsed object on judge_done so client never has to guess. Strengthened JSON-only prompt with verbatim example. Added Export – button: downloads run JSON of all 12 quarters' news, allocations, both model completions, judge verdicts.
907737f
verified

77ethers commited on

Trustworthy judge: enforce JSON schema (response_format=json_object) with confidence + per-criterion 0-10 scores. Server adds graceful fallback if a provider rejects response_format. Frontend renders structured verdict (winner/confidence/4 criterion cards each with A and B score bars + reason).
a9b4d35
verified

77ethers commited on

DeepSeek as independent judge: extends /api/plan-stream with judge_* phases that call deepseek/deepseek-v4-pro via HF Inference Providers (with V3 fallbacks). Frontend Judge panel under the comparison row shows winner badge + 1-line verdict + 4 structured bullets (format / reasoning / allocation / carbon).
5dc2d0a
verified

77ethers commited on

Streaming + base-model comparison: SSE /api/plan-stream runs CarbonAlpha then base Qwen 2.5 7B IT (LoRA disabled) on the same prompt; reasoning panel streams word-by-word with sage flash + section-pulse on completion; bottom comparison panel shows side-by-side raw responses; selected quarter dot highlighted on NAV chart.
608cba0
verified

77ethers commited on

Sage-highlighted Reasoning panel; brand tagline ('teaching a 7B model to manage a carbon-budgeted portfolio through macro shocks'); model tag updated to SFT + GRPO; news-helper links (generate news / write a case scenario) on inherited or open quarters; raw model response panel at bottom of side rail.
7b8f1f6
verified

77ethers commited on

Final cleanup: drop Fraunces font from loader card; remove dev comment
ba00b09
verified

77ethers commited on

Cleanup: remove deprecated renderProgress (was touching removed IDs); rename remaining 'Plan Quarter' β†’ 'Plan Portfolio'
e655343
verified

77ethers commited on

Zen + trader-terminal restyle (Segoe UI + mono numerics, status ribbon, tighter density). Layout: Reasoning above quarter strip; charts row 3-col [Allocation | Carbon vs Benchmark | NAV vs Benchmark]. Carbon chart simplified to 2-line comparison. Quarter strip shows PLANNED + INHERITED states. Episode Progress dropped; thermometer extended with current-quarter + run-cumulative readouts.
27f1480
verified

77ethers commited on

Bigger Allocation panel (main column, doughnut + per-asset bars + center top-weight) + Reward Breakdown panel (return, lead, regret, sharpe, drawdown, carbon vs cap & vs benchmark)
3983f3f
verified

77ethers commited on

Quarter navigation + per-quarter re-planning. Subtitle rebalanced (returns + carbon co-equal). Each of 12 quarter slots gets a unique random headline; editing + planning a later quarter forwards-projects from there.
f1aa000
verified

77ethers commited on

Major UI revamp: zen palette, single Plan Quarter button + loader, allocation pie, thermometer below progress, 24-news pool, carbon chart fixed (single legend, 100kg scale, 25kg cap line)
a3dab79
verified

77ethers commited on

Simplify: Portfolio Value vs single Benchmark line (equal-weight = quarter-wise avg of ETF returns)
93403b1
verified

77ethers commited on

Q0 charts populated: load 3 ETF counterfactuals + equal-weight carbon-attribution preview on page load
84c6384
verified

77ethers commited on

UI: simplify input rail (drop seed/phase/example), reorder stage so Carbon Attribution sits above Quarter Outcome
c4b341d
verified

77ethers commited on

Counterfactuals: real ETF backtest (IXN/DBO/ICLN/VNQI/BNDW, Q1 2022 – Q4 2024)
bd390db
verified

77ethers commited on

UI: counterfactual paths, carbon thermometer, stacked carbon attribution, Pareto scatter
caa84f8
verified

77ethers commited on

Improve quarter walkthrough UX
967a6ae
verified

77ethers commited on