Skip to content

chore: delete legacy calculator, Streamlit UI, and unused dependencies - #9

Merged
reiase merged 2 commits into
mainfrom
chore/delete-legacy
Aug 9, 2026
Merged

chore: delete legacy calculator, Streamlit UI, and unused dependencies#9
reiase merged 2 commits into
mainfrom
chore/delete-legacy

Conversation

@reiase

@reiase reiase commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes all legacy modules and their dependencies, keeping only the canonical analysis path (, , , , , , , , , , ) and the retained Calculon comparison engine ().

Deleted modules (44 source + test files, −7385 lines)

  • core/ — sympy-based symbolic expressions (SymPick, SymMax, SymMin)
  • types/ — hyperparameter-based model/system/execution calculators
  • nn/ — legacy neural network layer definitions
  • st/ — Streamlit block renderers
  • ui.py, console.py, io.py, util.py — legacy UI/IO utilities
  • validation/legacy/ — Calculon-based SeqSel reproduction scripts
  • workbench/streamlit_ui.py — legacy Streamlit workbench adapter
  • streamlit_app.py, pages/ — legacy Streamlit entry point and pages

Removed dependencies

  • hyperparameter, sympy (only used by deleted legacy modules)
  • streamlit, streamlit-extras (streamlit_ui + pages deleted)
  • ~30 transitive sub-packages (htbuilder, tornado, watchdog, etc.)

Edited

  • nicegui_ui.py: remove Legacy tool button and Streamlit dialog
  • pyproject.toml: remove 4 deps + legacy-ui extra, update dev/full groups
  • CI workflow: remove --extra legacy-ui from install step
  • uv.lock: auto-regenerated

Retained

  • src/calculon/ — standalone comparison/calibration engine
  • src/blueprinting/fp/ — float_point_values_table used by float_analysis

Validation

  • Tests: 115 passed, 1 skipped (pyarrow not installed)
  • ruff check src/blueprinting/: All checks passed
  • mkdocs build --strict: zero warnings

reiase added 2 commits August 10, 2026 07:01
Remove legacy modules no longer used in the canonical analysis path:
- core/ — sympy-based symbolic expressions (SymPick, SymMax, SymMin)
- types/ — hyperparameter-based Model/System/Execution calculators
- nn/ — legacy neural network layer definitions (LayerDef, gemm_flops, etc.)
- st/ — Streamlit block renderers (attention, FFN, formatter)
- ui.py, console.py, io.py, util.py — legacy UI and console utilities
- validation/legacy/ — Calculon-based SeqSel reproduction scripts
- workbench/streamlit_ui.py — legacy Streamlit workbench adapter
- streamlit_app.py, pages/ — legacy Streamlit entry point and pages

Remove corresponding test files:
- tests/validation/legacy/ — seqsel comparison tests
- tests/workbench/test_streamlit_workbench.py — Streamlit UI tests

Remove unused dependencies:
- hyperparameter, sympy (only used by deleted modules)
- streamlit, streamlit-extras (streamlit_ui, pages deleted)

Retain src/calculon/ and src/blueprinting/fp/
(the former for comparison/calibration, the latter for float_analysis).
@reiase
reiase merged commit 6ae28f5 into main Aug 9, 2026
5 checks passed
@reiase
reiase deleted the chore/delete-legacy branch August 9, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant