SlopScore
00 crowd

bangalore-weather

Bangalore weather visualizations — temperature and rainfall charts with AI-generated commentary
Open repo on GitHubgithub.com/skthewimp/bangalore-weather
R · ★ 6 · 0 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)other
listed 2 hours ago by skthewimp · last checked 2 hours ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-09-13: Bangalore weather visualizations — temperature and rainfall charts with AI-generated commentary; its own README says "- AI commentary : 4 bullet points highlighting the most notable weather patterns for that year, generated by Claude (Haiku) from pre-compute". 6 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as skthewimp. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
Bangalore weather visualizations — temperature and rainfall charts with AI-generated commentary
created
2026-02-11 · pushed 4 days ago · 75 commits · 1 contributor
languages
R 83%Python 11%HTML 5%Shell 0%
paperwork
licensereadme 42% health
dependencies
no dependency graph (no manifest, or disabled) · OSV.dev, checked 2 hours ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
other
ai_generated
mostly
human_touch
light
status
works-on-my-machine
language (detected)
htmlpythonrshell
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: Bangalore weather visualizations — temperature and rainfall charts with AI-generated commentary; its own README says "- AI commentary : 4 bullet points highlighting the most notable weather patterns for that year, generated by Claude (Haiku) from pre-compute". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README — the repo's own words, folded up so the grading fits on one screen

Bangalore Weather

Temperature and rainfall visualizations for Bangalore (Bengaluru), using hourly weather data from 1981 to present via the Oikolab API.

What's here

bangalore_weather_update.R -Downloads the latest hourly temperature and precipitation data from Oikolab, appends it to the local .RData files, and produces a chart for the current year. Includes a 3-bullet AI commentary summarising the last 2 weeks of weather compared to historical norms. Skips the API fetch gracefully if data is already up to date.

bangalore_weather_historical.R -Generates year-by-year weather charts for any past year. Each chart includes:

  • Temperature panel: Daily high/low range for the target year (brown), overlaid on the normal range (grey) and all-time record range (beige). Days that broke historical records are labelled.
  • Rainfall panel: Cumulative monthly precipitation (brown bars) compared to the historical monthly average (green step line). Record rainfall days and wettest months are labelled.
  • AI commentary: 4 bullet points highlighting the most notable weather patterns for that year, generated by Claude (Haiku) from pre-computed statistics.

The commentary works by having R compute ~30 weather statistics (hot/cold day counts, streak lengths, rainfall totals, etc.), rank them by how far they deviate from historical averages, and send the top 5 to Claude Haiku for concise rephrasing. The LLM's role is minimal - it synthesises pre-selected facts into readable bullets rather than doing any analysis.

Temperature thresholds for "hot days", "cold days", etc. are data-driven (historical percentiles), not hardcoded.

Both scripts resolve their own directory at runtime (sys.frame(1)$ofile when source()'d, --file= when run via Rscript, rstudioapi in RStudio), so they work regardless of working directory.

Charts

2025

2025

2024

2024

2023

2023

2022

2022

2021

2021

GitHub Pages

Static HTML artifacts intended for browser viewing can be published from the docs/ folder with GitHub Pages.

  • Landing page: docs/index.html
  • Few-shot review cards: docs/fewshot_annotations/review_cards.html

Question-driven analyses

Use analysis_questions/question_template.Rmd when a new weather question needs a notebook-backed answer. If the result is genuinely worth keeping, write a blog post in docs/blog/, add it to the top of docs/blog/index.html and docs/blog/feed.xml, add it to the top of analysis_questions/analyses.yml with insightful: true, publish: true, and a blog_url, then run:

Rscript analysis_questions/update_site_analyses.R

That regenerates the latest three homepage blog cards in docs/index.html using the same article format as the existing site. Published, insightful entries must point to a blog post.

Blog posts live in docs/blog/. Each post must include the visible disclosure This post is AI-written. at the top of the article body. The updater fails if a published analysis is missing its post, disclosure, or RSS entry.

Requirements

  • R with packages: tidytable, tidyverse, patchwork, lubridate, ggthemes, ggrepel, httr2, jsonlite, yaml, rmarkdown
  • An Anthropic API key in ~/.Renviron as ANTHROPIC_API_KEY (for AI commentary; charts render fine without it)
  • For bangalore_weather_update.R: an Oikolab API key in ~/.Renviron

Usage

# Generate a single year's chart
source("bangalore_weather_historical.R")
generate_weather_chart(2024, save_path = "bangalore_weather_2024.png")
# Generate multiple years from the command line
Rscript bangalore_weather_historical.R 2021 2022 2023 2024 2025

Data

The underlying hourly data (bangaloreTemperature.RData, bangaloreRainfall.RData) is not included in this repo due to size. Run bangalore_weather_update.R to fetch and build the data files.

Design

Chart design inspired by the NYT/Tufte style -minimal gridlines, muted earth-tone palette, data-ink focused. Uses ggthemes::theme_tufte() as a base.

Read the rest on GitHub

Scan report · 2026-09-13
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review

0 comments

log in to comment.

report this listinglog in to report