メインコンテンツへスキップ
見出し画像

DTI-Core Grand Auditor v6.0.6 を公開しました

    DTI-Core Grand Auditor v6.0.6 を公開しました

    宇宙論パラメータの比較・監査を行うための公開アプリ DTI-Core Grand Auditor v6.0.6 を公開しました。

    Public app:
    https://dti-real-app-v606.streamlit.app

    Frontend GitHub:
    https://github.com/fujikix1102/dti-real-app-v606

    External CLASS API:
    https://dti-class-api.onrender.com

    Backend GitHub:
    https://github.com/fujikix1102/dti-class-api


    これは何か

    DTI-Core Grand Auditor v6.0.6 は、宇宙論モデルの parameter profile を比較・点検するための公開 Streamlit アプリです。

    目的は、ある宇宙論モデルが「正しい」と主張することではありません。

    むしろ、複数の parameter profile を並べ、どのパラメータに負担が集中しているのか、どの既存 profile に近いのか、benchmark と比べてどの方向にずれているのかを、公開環境で確認できるようにすることです。

    つまりこれは、結論を出すためのアプリではなく、検証・比較・監査の入口として作ったものです。

    なぜ公開したか

    今回公開したかったのは、単に「アプリが動く」ということではありません。

    重要なのは、宇宙論モデルや parameter profile を、閉じたローカル環境の中だけで扱うのではなく、第三者が見て、比較し、点検できる公開形式に置くことです。

    宇宙論の議論では、最終的な数値や結論だけが前面に出がちです。しかし、その背後では、どの parameter がどの方向に動き、どの benchmark に近づき、どの量に負担が集中しているのかという構造があります。

    DTI-Core Grand Auditor v6.0.6 では、その構造を「結論」ではなく「監査対象」として表示することを目指しました。

    そのため、このアプリは H0 tension や S8 tension に対する最終回答を出すものではありません。むしろ、そうした議論に入る前の段階で、parameter profile の形、差分、近接性、benchmark との関係を確認するための公開された観察台です。

    また、今回は Streamlit の公開フロントエンドだけでなく、Render 上に CLASS/PyCLASS backend を分離して配置しました。これにより、UI と数値計算を分け、公開環境でも探索的な CLASS propagation を返せる構成にしています。

    これは小さな実装ですが、研究の進め方としては重要だと考えています。つまり、主張を先に立てるのではなく、まず監査可能な形を作る。そのうえで、何が言えて、何がまだ言えないのかを分ける。今回の公開は、そのための第一段階です。


    主な機能

    現在の公開版では、以下の機能を入れています。

    • 100件の登録済み parameter-profile preset

    • Candidate / Reference のパラメータ比較

    • text-to-form / form-to-text 変換

    • profile-nearest search

    • AxiCLASS FIX1 locked benchmark の表示

    • Planck-like fit-region profile の確認

    • Render 上の外部 CLASS/PyCLASS API との接続

    • sigma8・S8・rs_drag・age などの探索的 CLASS propagation 結果の表示


    なぜ外部APIにしたか

    最初は Streamlit Community Cloud 上で直接 CLASS / PyCLASS を動かすことも考えました。

    しかし、CLASS / PyCLASS は通常の軽い Python パッケージとは違い、ビルド環境、依存ライブラリ、メモリ、実行時間に影響を受けやすい数値計算コードです。

    そこで、公開 Streamlit アプリ本体は軽量なフロントエンドとして残し、CLASS / PyCLASS の計算部分は Render 上の外部 API に分離しました。

    構成としては、以下のようになります。

    Streamlit public frontend
    https://dti-real-app-v606.streamlit.app
    
            ↓
    
    Render CLASS API backend
    https://dti-class-api.onrender.com/class/compute
    
            ↓
    
    CLASS / PyCLASS propagation

    この構成により、Streamlit 側は UI と入出力に集中し、重い計算は外部 API 側で処理できます。

    外部APIの現在の状態

    Render 上の外部APIでは、/health と /class/compute が動作しています。
    確認済みの状態は以下です。
    /health: OK
    classy_available: true
    /class/compute: OK
    engine: classy/PyCLASS

    現在返している主な値は以下です。

    • h

    • Omega_m_computed

    • A_s

    • sigma8_CLASS

    • S8_CLASS

    • rs_drag_Mpc_CLASS

    • age_Gyr_CLASS


    重要な境界線

    このアプリは、以下を行うものではありません。

    • likelihood evaluation

    • posterior comparison

    • Planck likelihood validation

    • MCMC sampling

    • external chain reanalysis

    • final cosmological validation

    • H0 tension が解決したという主張

    • S8 tension が解決したという主張

    • 一意の物理機構が確定したという主張

    現在の外部 CLASS API は LCDM-like CLASS propagation を行う最小構成です。
    f_EDE や z_c は interface compatibility のために受け取っていますが、この最小公開バックエンドでは AxiCLASS EDE microphysics としては使っていません。
    そのため、このアプリの出力は正式な尤度評価ではなく、あくまで parameter-profile の探索的・監査的な表示として扱う必要があります。


    このアプリで見たいもの

    このアプリで見たいのは、単独の数値の正しさではありません。
    むしろ、以下のような構造です。

    • どのパラメータがどの方向へ動いているのか

    • Candidate と Reference の差分がどこに集中するのか

    • 既存の profile 群の中でどの領域に近いのか

    • benchmark と比べてどの量が変化しているのか

    • その変化が説明しやすい形で表示されているか

    このような監査・比較・再現性のための観察台として作っています。


    使い方

    基本的な使い方は以下です。

    1. 左サイドバーで registered profile を選ぶ

    2. parameter block が自動で読み込まれることを確認する

    3. 必要に応じて Text to form / Form to text を使う

    4. Candidate / Reference の差分を確認する

    5. AxiCLASS FIX1 locked benchmark を確認する

    6. External CLASS API sandbox で探索的 CLASS propagation を実行する

    7. 出力された sigma8、S8、rs_drag、age などを確認する


    公開リンク

    Public app:
    https://dti-real-app-v606.streamlit.app
    Frontend GitHub:
    https://github.com/fujikix1102/dti-real-app-v606
    External CLASS API:
    https://dti-class-api.onrender.com
    Backend GitHub:
    https://github.com/fujikix1102/dti-class-api


    今後

    今後の方向性としては、以下を考えています。

    • UI の整理

    • registered profile の出典管理の強化

    • 外部APIの計算範囲の拡張

    • AxiCLASS EDE microphysics への段階的接続

    • 出力結果の監査ログ化

    • response-ready / reproducibility-ready な説明文の整備

    現時点では、まず「公開環境で動く audit-first parameter-profile interface」として形にしました。
    これは最終結論を出すための道具ではなく、議論や検証を始めるための観察台です。

    English version

    # DTI-Core Grand Auditor v6.0.6 is now public
    
    I have released **DTI-Core Grand Auditor v6.0.6**, a public Streamlit application for cosmological parameter-profile auditing.
    
    Public app:  
    https://dti-real-app-v606.streamlit.app
    
    Frontend GitHub repository:  
    https://github.com/fujikix1102/dti-real-app-v606
    
    External CLASS API backend:  
    https://dti-class-api.onrender.com
    
    Backend GitHub repository:  
    https://github.com/fujikix1102/dti-class-api
    
    ---
    
    ## What this is
    
    DTI-Core Grand Auditor v6.0.6 is a public interface for inspecting and comparing cosmological parameter profiles.
    
    Its purpose is not to claim that a particular cosmological model is correct.
    
    Instead, it provides a reproducibility-first inspection layer where users can compare candidate and reference parameter blocks, inspect benchmark proximity, and examine how parameter burdens move across registered profiles.
    
    In this sense, the app is best understood as an audit interface, not as a final inference engine.
    
    ---
    
    ## Main features
    
    The current public version includes:
    
    - 100 registered parameter-profile presets
    - Candidate / Reference parameter comparison
    - text-to-form and form-to-text conversion
    - profile-nearest search
    - locked AxiCLASS FIX1 benchmark display
    - Planck-like fit-region inspection
    - external Render-hosted CLASS/PyCLASS API connection
    - exploratory CLASS propagation outputs such as sigma8, S8, rs_drag, and age
    
    ---
    
    ## Why the CLASS computation is external
    
    At first, it may seem natural to run CLASS / PyCLASS directly inside Streamlit Community Cloud.
    
    However, CLASS / PyCLASS is not a lightweight Python-only dependency. It depends on compiled numerical code, build tools, runtime libraries, memory, and execution-time constraints.
    
    For that reason, I separated the public system into two parts.
    
    ```text
    Streamlit public frontend
    https://dti-real-app-v606.streamlit.app
    
            ↓
    
    Render CLASS API backend
    https://dti-class-api.onrender.com/class/compute
    
            ↓
    
    CLASS / PyCLASS propagation

    The Streamlit app remains a lightweight public frontend, while the external Render backend handles the numerical propagation.

    Why I made it public

    The goal of this release is not simply to show that the app runs.

    The more important point is to place cosmological parameter profiles into a public, inspectable, and reproducibility-oriented environment.

    In cosmology, final numbers and headline conclusions often receive most of the attention. However, behind those numbers there is a structure: which parameters move, where the burden is carried, which benchmark a profile approaches, and which quantities shift together.

    DTI-Core Grand Auditor v6.0.6 is designed to expose that structure as an object of inspection.

    For that reason, this app does not claim to resolve the H0 tension or the S8 tension. It is not a likelihood engine or a posterior comparison tool. Instead, it provides a public observation layer for parameter-profile comparison, benchmark proximity review, and audit-first communication.

    A key part of this release is the separation between the public Streamlit frontend and the external Render-hosted CLASS/PyCLASS backend. The frontend remains lightweight, while numerical propagation is handled by the backend API.

    This is a small implementation step, but it reflects a broader research principle: do not start by overstating the conclusion. First, make the structure inspectable. Then separate what is supported from what remains exploratory.


    Current backend status

    The external backend currently exposes:
    GET /health
    POST /class/compute
    The deployed Render API has been tested successfully.

    Current status:
    /health: OK
    classy_available: true
    /class/compute: OK
    engine: classy/PyCLASS

    The backend currently returns quantities such as:

    • h

    • Omega_m_computed

    • A_s

    • sigma8_CLASS

    • S8_CLASS

    • rs_drag_Mpc_CLASS

    • age_Gyr_CLASS

    Important boundary

    This application is not:

    • a likelihood evaluation

    • a posterior comparison

    • a Planck likelihood validation pipeline

    • an MCMC sampler

    • an external chain reanalysis

    • a final cosmological validation tool

    • a claim that the H0 tension is resolved

    • a claim that the S8 tension is resolved

    • a claim of a unique physical mechanism

    The current external backend performs LCDM-like CLASS propagation.
    Parameters such as f_EDE and z_c are passed for interface compatibility, but they are not used as AxiCLASS EDE microphysics in the minimal public backend.
    Therefore, the output should be interpreted as exploratory propagation and profile inspection, not as a formal likelihood result.


    What I want to inspect with this tool

    The focus is not a single number in isolation.
    The goal is to inspect questions such as:

    • Which parameters carry the burden of a candidate profile?

    • How does a candidate profile differ from a reference profile?

    • Which registered profile is nearest in parameter space?

    • How do benchmark quantities shift under a given profile?

    • Can the structure be communicated in a reproducibility-first way?

    This is why the app is built around parameter profiles, locked benchmark references, explicit boundary statements, and a separated external compute backend.


    Basic usage

    A typical workflow is:

    1. Select a registered profile from the left sidebar.

    2. Inspect the generated parameter block.

    3. Use Text to form or Form to text if needed.

    4. Compare Candidate and Reference parameters.

    5. Inspect the locked AxiCLASS FIX1 benchmark values.

    6. Run the External CLASS API sandbox.

    7. Inspect returned values such as sigma8, S8, rs_drag, and age.


    Public links

    Public app:
    https://dti-real-app-v606.streamlit.app
    Frontend GitHub repository:
    https://github.com/fujikix1102/dti-real-app-v606
    External CLASS API backend:
    https://dti-class-api.onrender.com
    Backend GitHub repository:
    https://github.com/fujikix1102/dti-class-api


    Next steps

    Possible next steps include:

    • improving the public UI

    • strengthening source metadata for registered profiles

    • expanding the external API backend

    • connecting the backend more explicitly to AxiCLASS EDE microphysics

    • logging external API outputs for auditability

    • preparing clearer reproducibility-oriented documentation

    At this stage, the goal was to make the audit-first parameter-profile interface publicly accessible, connected to a working external CLASS/PyCLASS backend.
    It is not a final cosmological conclusion. It is an observation and inspection layer for further testing.

     
     
    やまに登ったりして、写真をとったりします。なので、そんな記事多いです。 でも、たまに、心の声を呟いたり、機材の解説したり。ヤマメシとか。。

    あなたへのおすすめ