-
Notifications
You must be signed in to change notification settings - Fork 3
notebooks: Reorganization in preparation for editing #475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR SummaryThis PR systematically updates file paths, URLs, and image references across a wide array of project notebooks, templates, and scripts. The primary goal is to align all documentation with the new directory structure (e.g., moving some notebooks from the
These modifications improve navigation for users and maintain consistency within the documentation. The changes are non-functional in nature and aim to streamline the user experience by ensuring that links and file references point to the current, accurate locations in the repository. Test Suggestions
|
cachafla
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new layout is much better. I like use_cases/ a lot 🙌
Pull Request Description
What and why?
In preparation for editing the rest of our Jupyter Notebooks, I shuffled some of our notebooks around and better defined the categories in which the notebooks live in hopes of making the user journey for finding topics and samples more intuitive.
Major changes
1. Renamed
code_samples/touse_cases/notebooks/code_samples/was moved tonotebooks/use_cases/.agents/,capital_markets/,code_explainer/,credit_risk/,model_validation/,nlp_and_llm/,ongoing_monitoring/,regression/, andtime_series/.custom_tests/notebooks, which were moved tohow_to/instead (refer to below).2. Reorganized
how_to/into topic-based subdirectoriesThe flat
notebooks/how_to/folder was reorganized into a nested structure with clear subcategories:how_to/data_and_datasets/how_to/metrics/how_to/scoring/how_to/tests/explore_tests/how_to/tests/run_tests/how_to/tests/run_tests/configure_tests/RawData, IDing PII in testshow_to/tests/run_tests/documentation_tests/how_to/tests/custom_tests/code_samples/custom_tests/)3. Moved images attached to notebooks into the same directories that the notebooks live in
notebooks/imagesI just shuffled them into the same (sub)directories that the notebooks live in as that is easier to associate and find.code_sharing/imagesfor now.4. Updated all internal references
code_samples/references updated touse_cases/, how-to links updated to new paths) across quickstart, tutorial, template, and code-sharing notebooks.scripts/run_e2e_notebooks.pyso the e2e test runner points to the correct new paths.notebooks/README.mdwith revised folder descriptions.Why
The previous structure had some naming/organizational issues:
code_samples/was a vague name — renaming it touse_cases/better describes that these are end-to-end examples for specific domains (credit risk, NLP/LLM, time series, etc.).how_to/was a flat folder with many unrelated notebooks at the same level — grouping them into topic-based subdirectories (data_and_datasets,metrics,tests,security, etc.) makes it much easier to navigate and find relevant guides.code_samples/but are really "how to" content about using a ValidMind feature, so they were moved tohow_to/tests/custom_tests/where they logically belong.How to test
n/a
What needs special review?
Important
Please make sure that the new categories assigned to notebooks make sense and are logical as I don't have as deep of an understanding of our notebook content as I'd like.
Dependencies, breaking changes, and deployment notes
Note
Links to the moved notebooks have also all been updated notebook side — they will be updated documentation side once this PR is approved and I am able to pull the new notebooks in under this PR: validmind/documentation#1168
Release notes
Release notes will go out with the documentation side PR as there will be additional navigation changes for how the notebooks are linked/structured in the docs.
Checklist