Spaces:
Running
Running
Update analytics_fetch_and_rendering.py
Browse files
analytics_fetch_and_rendering.py
CHANGED
@@ -224,7 +224,7 @@ def compute_post_interaction_metrics(posts):
|
|
224 |
"clicks_per_post": round(stats["clicks"] / posts_count, 2),
|
225 |
"comment_share_of_engagement": round((stats["comments"] / total_engagement) * 100 if total_engagement else 0, 2)
|
226 |
})
|
227 |
-
logging.info(f"this are the inter<ction results {results")
|
228 |
return results
|
229 |
|
230 |
def plot_interaction_metrics(data):
|
|
|
224 |
"clicks_per_post": round(stats["clicks"] / posts_count, 2),
|
225 |
"comment_share_of_engagement": round((stats["comments"] / total_engagement) * 100 if total_engagement else 0, 2)
|
226 |
})
|
227 |
+
logging.info(f"this are the inter<ction results {results}")
|
228 |
return results
|
229 |
|
230 |
def plot_interaction_metrics(data):
|