# Implementing scoring changes All homes (main db and resnet db) are now on the same scoring version (latest one). Whenever we make scoring changes, we will be running a script to re-calculate score for all homes in both dbs. - add the new version choice to the HomeSoringVersion.scoring_version field and set it as the LATEST_SCORING_VERSION (so that new version is assigned automatically to new homes) - Scoring changes need to be implemented under the corresponding scoring classes `asset_inventory.scoring`. - Update `pearlcertification.asset_inventory.utils.data_migration.HomeDataMigration.migrate_data` with the necessary steps to update the score for existing homes based on the scoring changes made. Usually involves re-calculating the score for the models with scoring changes and then recalculating the home score and tier. There might be extra steps depending on the scoring changes made. - add the mgt command `migrate_to_latest_scoring_version` to the list of scripts that need to run in the current release. Make sure it runs for both databases.