Closed
Conversation
added 6 commits
March 18, 2026 15:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR: README refactor, repo structure cleanup and installation documentation
Summary
This PR improves the repository documentation and tidies up the root directory structure by organising installation-related files and archiving legacy scripts. No changes to the core Python package logic.
Changes
README.md— full refactorThe original README has been completely restructured and expanded:
pip + venvandcondapaths, including:metrics-aggregator.pyexample to use the includedsample-series/data directlysample_cpuinfo/in thecpuinfo-tdp-finder.pyexampleinstallation/— new directoryMoved all installation-related files from the repo root into a dedicated
installation/folder:constraints-*.txtfiles (all Python versions, native Linux and WSL variants)requirements.txtdev-requirements.txtmypy-requirements.txtlegacy/— new directoryMoved deprecated Bash scripts into a dedicated
legacy/folder:execution-metrics-collector.shplotGraph.shplot-metrics.shThese scripts predate the current Python implementation and are no longer maintained. They are kept for historical reference only.
setup.py— path updatesUpdated paths to reflect the new directory structure:
requirements.txtpath updated toinstallation/requirements.txt.shscript paths updated tolegacy/execution-metrics-collector.sh,legacy/plotGraph.sh,legacy/plot-metrics.shMANIFEST.in— path updateUpdated
requirements.txtreference toinstallation/requirements.txt..gitignore— cleanup entries addedAdded standard Python build artifact entries:
*.egg-info/__pycache__/*.pycbuild/dist/What this PR does NOT include
treecript/Python packageparser.pyinhomogeneous array bug — this is tracked separately as a GitHub issue and will be addressed in a dedicated PRTesting
Tested full install from local repo using the new structure:
conda create -n Treecript python=3.10 -y conda activate Treecript pip install -c installation/constraints-3.10.txt .Verified all programs run correctly after install:
plotGraph.py✅metrics-aggregator.py✅tdp-finder.py✅execution-metrics-collector.py✅