# Qwen Flash apps with AGILAB native React views

These five Python-authored apps are native derivatives of the original accepted
Qwen Flash applications. The interface uses AGILAB's published React/Python host.
The scientific modules and editable solution notebooks retain their original bytes.
The original build receipts describe generation of the original source only;
the separate migration manifest identifies this deterministic UI conversion.

Original Hugging Face revision: `82e519841356dc8e6153a10f735abd9b6de378f9`.

## Run locally

Extract [the native app archive](qwen-flash-native-complete-apps.zip), then work in `qwen_flash_native_apps`.
Use Python 3.12 or newer; the Free-threading Lab requires Python 3.14 or newer.

```sh
python3 -m venv .venv
.venv/bin/python -m pip install -r qwen-flash-native-runtime-requirements.txt
.venv/bin/python qwen-flash-native-launch.py iris --port 8501
```

Open `http://127.0.0.1:8501`. Other app names are `text`, `forecast`, `threading`,
and `milp`; use separate ports when running them together. The launcher uses
the published `agi_web.react_python_host` entry point and binds to localhost by default.

Forecast analysis requires the separately licensed Chronos-2 model. Set
`CHRONOS_MODEL_PATH` to an existing local model and set `HF_HUB_OFFLINE=1` and
`TRANSFORMERS_OFFLINE=1` for offline execution. The builder and launcher do not
download model weights. For free-threaded comparisons, set
`AGILAB_FREE_THREADING_PYTHON` to an installed free-threaded Python 3.14 interpreter.

## Work in a notebook

Each app includes an editable `solution.ipynb`, its original upstream notebook
under `source/original.ipynb`, and source licensing/provenance. Open the solution
with a fresh kernel using the installed environment and run its code cells.
The UI is also available inline in Jupyter with the installed notebook extra:

```python
from agi_web.notebook_python_view import render_python_view
display(render_python_view("iris/app.py", active_app="iris"))
```

From this directory, `%run qwen-flash-native-notebook.py iris` provides the same view.
Both the controls and calculations remain authored in editable Python files.

[Migration provenance](qwen-flash-native-migration-manifest.json) records original/derivative hashes and
transformations. Its status is `built`; browser, numerical and fresh-kernel
validation must be supplied separately and are not implied by artifact creation.


## Kit hors réseau macOS arm64, qualifié le 8 octobre 2026

Installation neuve de la version 2026.10.7.1 : 36 tests, 18 cellules originales, cinq interfaces web et cinq widgets Jupyter. Trafic externe bloqué ; portée macOS arm64.

[Preuves, captures et kit complet](https://jpmorard-tokki.static.hf.space/qwen_flash_native_apps/airgap-macos-arm64-20261008/qwen-flash-native-airgap-kit-macos-arm64-20261008-qualification-summary-fr.html)
