Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
New Praise Data Format
``` % python add_new_praise_columns.py 2025-11-24 11:41:22,313 - INFO - Starting praise column backfill script Missing ENVIRONMENT environment variable. Setting default to CHANGEMEPLS 2025-11-24 11:41:22,313 - WARNING - Missing ENVIRONMENT environment variable. Setting default to CHANGEMEPLS 2025-11-24 11:41:22,313 - INFO - Querying praises collection... 2025-11-24 11:41:27,001 - INFO - Found 27 total praises 2025-11-24 11:41:27,001 - INFO - Pass 1: Analyzing praises and looking up users... /opt/homebrew/Caskroom/miniconda/base/lib/python3.10/site-packages/google/cloud/firestore_v1/base_collection.py:295: UserWarning: Detected filter using positional arguments. Prefer using the 'filter' keyword argument instead. return query.where(field_path, op_string, value) 2025-11-24 11:41:36,530 - INFO - Pass 1 complete: 27 praises need updating 2025-11-24 11:41:36,530 - INFO - User cache contains 12 unique users 2025-11-24 11:41:36,530 - INFO - Pass 2: Applying updates in batches... 2025-11-24 11:41:36,530 - INFO - Processing batch 1/1 (27 updates)... 2025-11-24 11:41:40,917 - INFO - Successfully committed batch 1 2025-11-24 11:41:40,917 - INFO - ================================================================================ 2025-11-24 11:41:40,917 - INFO - Backfill complete! 2025-11-24 11:41:40,917 - INFO - Total praises processed: 27 2025-11-24 11:41:40,917 - INFO - Successfully updated: 27 2025-11-24 11:41:40,917 - INFO - Skipped (already complete): 0 2025-11-24 11:41:40,917 - INFO - Errors encountered: 0 2025-11-24 11:41:40,917 - INFO - Unique users cached: 12 2025-11-24 11:41:40,917 - INFO - ================================================================================ ```
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.
No description provided.