Improve variable and function naming for readability#9
Draft
Improve variable and function naming for readability#9
Conversation
Co-authored-by: bcaneco <12933586+bcaneco@users.noreply.github.com>
Co-authored-by: bcaneco <12933586+bcaneco@users.noreply.github.com>
Co-authored-by: bcaneco <12933586+bcaneco@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve variable and function naming for better clarity
Improve variable and function naming for readability
Dec 3, 2025
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.
Replaced abbreviated and non-descriptive variable/function names throughout the codebase to improve readability and maintainability.
Changes by Category
Exported Function (Breaking Change)
velocity_ou(): Converted parameters from camelCase to snake_casedriftV→drift_velocitycurrentV→current_velocitydelta→time_stepInternal Functions & Variables
Common abbreviations expanded:
drv/drvs→driver/driverscfg→config/disnbs_confignm/nms→dimension_name/dimension_namestm→timestamp/agent_timestamploc→location/agent_locationvf→vector_fieldscen→scenarioimp_*→impact_*Compound names clarified:
mv_drvids→movement_driver_idsvf_drvids→vector_field_driver_idsn_wk→num_workersnnrst_meta→non_raster_metadataFiles Modified
velocity_ou.R,get_driver_cell_value.R,rmr_initiate.R,utils.R,build_cost_fn.R,driver_introspect_stars.R,run_disnbs.R,simulate_agent_disnbs.RExample
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.