Runtime selection and workspace layout¶
Conda and PyCharm¶
Startup supports two policies, selected with ALL_IN_ONE_RUNTIME_MODE in the
process environment, PyCharm Run Configuration, or local .env:
| Check | strict |
non-strict (default) |
|---|---|---|
| Supported Python and required packages installed | Required | Required |
| Dedicated environment and explicit directory selection | Required | Required |
Installed versions equal the tested == pins |
Required | Warning |
| Declared package origins and external distributions | Required | Warning |
Both policies recognize non-base Conda environments using conda-meta/history
instead of pyvenv.cfg. Neither policy installs or changes packages. A version
difference alone does not prove incompatibility: non-strict mode reports the
difference without guessing compatibility from the major version. Run feature
regressions after upgrading. The old warn value is an alias for non-strict;
it no longer bypasses missing-package or unsupported-Python errors.
In PyCharm, select your dedicated environment's interpreter, set the working
directory to the repository root and run start.py. Optional script arguments
are --host 127.0.0.1 --port 8000. Terminal activation is unnecessary when the
IDE already runs the selected Python.
If ALL_IN_ONE_WEB_ENVIRONMENT is set in the process or local .env, it must
match the selected environment directory. Otherwise recognized non-base Conda
environments do not require a machine-specific prefix. Install the project
requirements yourself; preflight never installs or changes Conda packages. The
== pins in requirements and uv files document the tested baseline. They do
not turn the runtime check into an exact-version lock: compatible upgrades are
allowed and shown in the diagnostic report.
Run your interpreter with egs/entrypoints/check_runtime.py --role web to
inspect the configured policy, or add --mode strict / --mode non-strict to
compare both policies. Explicit diagnostic arguments override process variables,
then local .env, then egs/config/operations/runtime_environments.yaml.
Startup uses the same precedence without a diagnostic argument.
pip/setuptools/wheel
version differences alone do not block application startup; installation
manifests retain their exact build-tool pins.
For pip, optional messaging and observation profiles have committed hash-locked
exports in egs/requirements/channels.lock.txt and observability.lock.txt.
They contain dependency versions and public package hashes, not credentials.
Missing packages versus version warnings¶
Non-strict mode accepts version differences; it does not provide packages that
are absent from the selected interpreter. A report containing apscheduler,
duckdb or markitdown as missing means those dependencies must be installed
in the same environment PyCharm uses. Installing them in another terminal's
Python environment will not repair the selected interpreter.
For a new environment, install the appropriate project requirements profile. For an existing environment, review a pip dry run before a targeted repair:
python -m pip install --dry-run "apscheduler==3.11.3" "duckdb==1.5.6" "markitdown[docx]==0.1.9"
python -m pip install "apscheduler==3.11.3" "duckdb==1.5.6" "markitdown[docx]==0.1.9"
python egs/entrypoints/check_runtime.py --role web --mode non-strict
python start.py
Use the exact Python executable selected in PyCharm if the terminal is not activated in that environment. These commands can install transitive dependencies; review their effect before changing a shared environment. An authorized repair must not edit installed package source or bypass the missing-package check.
On 2026-11-14, a dedicated Conda/Python 3.11.14 environment passed non-strict preflight after a targeted repair. Its existing FastAPI 0.128.0, Uvicorn 0.40.0, Pydantic 2.11.9 and Gradio 6.3.0 were retained. Actual launcher/health/API/browser checks, cron scheduling, DuckDB queries and HTML/DOCX parsing succeeded. This is startup and selected-feature evidence, not certification of all unrelated packages in a shared environment. Version warnings may remain visible.
Layout and reading¶
The shell and embedded modules use available viewport width with shared gutters. Controls have consistent spacing and wrap on small screens. The AI conversation fills its region; session/file sidebars can collapse.
The Learning Space has chapter navigation, previous/next controls and readable body spacing. All quantitative chapters have maintained English counterparts; language changes retain the selected chapter. User research documents and entered messages retain their source language.
ETF location¶
Open Strategy Build → Strategy Management → ETF Research. This panel retains
universes, fees, benchmarks, liquidity and source snapshots. ETF presets use
the normal strategy catalog and shared backtest flow. Old view=etf links open
the nested panel. ETF APIs and CLI commands remain available.
Authentication output¶
Routine BaoStock login/logout success output is DEBUG. INFO retains business outcomes; failures and unexpected provider output remain visible. The adapter does not change error handling or credential storage.
Application startup diagnostics are English. Successful frontend callback pairs and internal initialization phases require DEBUG; normal network latency is not reported as a failed action. Calendar initialization, balanced rankings, financial sections and bounded graph jobs are explained in the runtime and market research guide.