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
#!/usr/bin/env python3 | |
""" | |
quote2story.py | |
Convert customer quotes to backlog-ready items. | |
Inputs | |
------ | |
• CSV with columns: category, quote | |
• OPENAI_API_KEY environment variable | |
• BACKLOG_TABLE_URL (raw HTML of an existing table in your wiki) |
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
import pandas as pd | |
import numpy as np | |
from datetime import datetime, timedelta | |
# reproducible randomness | |
np.random.seed(123) | |
# ----------------------------- | |
# 1. Configuration | |
# ----------------------------- |
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
#!/usr/bin/env python3 | |
""" | |
kano_report.py | |
────────────── | |
End‑to‑end Kano Analysis scorer + heat‑map generator for Product Owners. | |
Usage | |
----- | |
python kano_report.py # choose CSV via file dialog | |
python kano_report.py --input survey.csv # non‑interactive |
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
import random | |
import matplotlib.pyplot as plt | |
import numpy as np | |
def monte_carlo_velocity_forecast(past_velocities, simulations=10000): | |
if len(past_velocities) == 0: | |
raise ValueError("Please provide at least one past velocity value.") | |
simulated_velocities = [random.choice(past_velocities) for _ in range(simulations)] |