ravega.net
Source

Code

Selected source from the platform, published against an explicit allowlist. Everything not listed here stays private — and no repository history is published at all, so what you get is a snapshot rather than a clone.

567
files
102,517
lines
11
exhibits

Market

Trading platform: FastAPI backend, live tick collectors into a time-series store, an options-pricing layer, and a bot engine that runs the same strategy modules against live ticks or a recorded session.

from program/market/backend/bot/backtest.py
backtest (bot_backtest)

summary: Offline VWAP-reversion options backtester over historical SPY ticks.

responsibilities:
- Pull historical underlying ticks for a date range and split them into
  regular-hours sessions.
- Run the VWAP mean-reversion rule per session, on either or both sides of the
  band: "below" buys a CALL when price touches VWAP - entry_band*sigma, "above"
  buys a PUT when it touches VWAP + entry_band*sigma. Both exit at the VWAP line,
  stop at stop_band*sigma further out, and force-flat at the session close. The
  contract TYPE is derived from the side -- direction is a property of the
  strategy's thesis, not an independent option choice.
- Optionally gate entries with three opt-in re-evaluation controls (all no-ops
  at their defaults): a VWAP-slope trend filter (skip longs fighting a strong
  downtrend), a re-entry cooldown (block new entries for N seconds after
...
154
files
34,671
lines

Finance

Personal budgeting: paycheck forecast against actual withholding, accounts, expenses, recurring bills, and a formula registry so the arithmetic is declared in one place rather than scattered across views.

49
files
10,653
lines

EVE Industry

Industry calculator for EVE Online: recursive blueprint bill-of-materials with exact material efficiency and per-job rounding, shared-intermediate batching, and cost-optimal buy-vs-build against live market prices.

from program/eve/backend/cli.py
cli (cli)

summary: Command-line entry point to explode a product into its raw materials and
build steps against the real EVE Online SDE.

responsibilities:
- `explode` — resolve a product (by type_id or name), run the BOM engine with a
  given ME / runs / buy-list, and print the raw-material shopping list, the
  bottom-up build steps, and any overproduction leftovers.
- `search` — list type_id/name matches to help address a product by name.

notes:
- Pure presentation over engine_explode + the EveOnlineAdapter; no game/data logic
  lives here.
- Usage (from program/eve, with the SDE built into data/sde.sqlite):
    PYTHONPATH=../shared python -m backend.cli explode "Hammerhead II" --runs 10 --me 10
    PYTHONPATH=../shared python -m backend.cli search "Exhumer"
59
files
6,293
lines

Nutrition

Recipe manager over the USDA FoodData Central dataset: calories, macros, vitamins and minerals, meal planning, pantry tracking, and a generated shopping list.

from program/nutrition/backend/db/models.py
models (db_models)

summary: SQLAlchemy 2.0 ORM models for the recipes database — the USDA FoodData
Central (FDC) food cache, the nutrient/unit/density reference catalog, recipes
and their resolved ingredient lines, meal plans, pantry, shopping lists, and diet
goals.

responsibilities:
- FDC cache (offline nutrition source of truth): FdcFood (full JSONB payload +
  metadata), FdcFoodNutrient (per-100 g amounts), FoodPortion (household/volume
  portion → grams bridge).
- Reference catalog (JSON-seeded, never hardcoded): NutrientRef (number → name →
  unit → Daily Value, keyed by reference_set), UnitDef (within-class conversion
  factors), DensityRef (curated generic volume/count → grams fallbacks).
- User domain: Ingredient (food catalog → FDC mapping), Recipe / RecipeIngredient
  (as-written quantity + the resolver's cached grams + provenance) / RecipeStep,
  RecipeNutritionCache (per-re
...
69
files
11,702
lines

Garden

Plant tracker: care schedules, growth and watering logs, and scheduled notifications with a single declared owner for each reminder so no plant is notified about twice.

44
files
6,882
lines

Household

Chores and to-dos with Tody-style urgency decay, recurring and seasonal tasks, and an order-of-operations planner for work that has to happen in sequence.

47
files
10,219
lines

Auction

Marketplace monitor and bidder across two sources: consolidated multi-search watchlists and burst-polling around listing drops, dry-run by default behind independent two-key arm switches.

from program/auction/backend/services/sgw_client.py
sgw_client (services_sgw_client)

summary: Async client for the shopgoodwill.com buyer API — login (JWT), search,
favorites, item/bid-modal reads, and bid placement. Ported from the proven
open-source reference scottmconway/shopgoodwill-scripts.

responsibilities:
- login(): AES-CBC-encrypt the credentials (the site's own client-side scheme) and
  POST /SignIn/Login, caching the returned JWT to token_path.
- ensure_authenticated(): reuse an in-memory / on-disk token, else log in.
- search() / get_favorites(): the two consolidated-watchlist sources.
- get_item() / show_bid_modal(): item reads (ShowBidModal is the cheap current-price poll).
- place_bid(): POST /ItemBid/PlaceBid — HARD-REFUSES to POST when dry_run=True.
- parse_item(): normalize the varied search/favorite/detail item shapes into one dict.

notes:
- This is a STATEFUL client (session + token), so it's built on aiohttp direct
...
53
files
6,916
lines

Unidentified

Sensor-node network: probes report channel-agnostic readings and a detector flags rolling z-score deviations as candidate anomalies, with per-node alert status.

from program/unidentified/backend/tests/test_ingest.py
test_ingest (tests)

summary: End-to-end tests for the report ingest + alert state machine
(services/ingest.py) against a REAL async SQLite database — the same code path the
fleet runs on PostgreSQL (the models are JSON-on-SQLite / JSONB-on-PG by variant, so
SQLite exercises the actual ORM, not a mock).

responsibilities:
- register_node: create, selective-overwrite update, and bare-heartbeat no-op.
- ingest_report: auto-register; a warming-up node stays 'ok'; a spike opens exactly
  one Alert episode and flips the node to 'alert'; a sustained spike updates the
  episode's peak without opening a duplicate; a return to baseline closes the episode
  and flips the node back to 'ok'.
- Persistence: one Reading row per report; per-channel episode independence.

notes:
- Each test spins up its own in-memory SQLite (StaticPool so the one connection keeps
  the schema) and disposes it. Async bod
...
28
files
2,379
lines

Professional

Evidence-backed resume and cover-letter generator: job-posting ingestion, requirement-to-evidence coverage mapping, and a page count measured from the rendered document rather than estimated.

from program/professional/backend/routers/interview.py
interview (routers_interview)

summary: Behavioral-interview prep — find the questions that get asked, answer them in the
    user's own words, draft STAR responses from those answers, and track coverage.

responsibilities:
- Manage competencies and the question bank (list, create, seed, derive, research).
- Capture and edit the user's own raw answer to a question.
- Generate a STAR draft from an answer, review it, and accept it into a Story.
- Manage STAR stories (list, create, edit, mark practiced).
- Report per-story readiness, competency coverage, practice staleness, and prep progress.
- Match an asked question against the stories on record.

notes:
- THE LOOP IS: question -> the user's own account -> a checked draft -> an accepted Story. Each
  arrow is a separate, explicit call. Nothing skips a step — in particular no endpoint writes a
  Story from generated text, because a Story i
...
42
files
7,363
lines

Fan Controller

ESPHome firmware for a WiFi PWM fan controller driving a spot-cooling hub over hot rack gear, surfaced as a first-class device in the home-automation stack.

4
files
170
lines

Repository drift detectors — static analysis over a live platform

A family of single-purpose checkers that hold a 1,900-file monorepo to its own documented conventions: every skill, rule, script, program, and doc is parsed and cross-checked against the indexes that claim to describe it.

from agent/script/reconcile_skill.py
ReconcileSkill

Summary:
    Detect drift in the skill system under the single-location architecture:
    canonical content lives at ``.claude/skills/<name>/SKILL.md`` (Claude
    Code's native discovery format); the root ``SKILLS.md`` aggregator is
    regenerated from those canonicals by ``claude_skill_bootstrap.py``.
    Reports findings; does not write. The companion ``/reconcile_skill``
    skill consumes the report and walks the user through fixes.

Drift classes detected:
    - Malformed shim subdir (no ``SKILL.md`` inside).
    - Legacy flat shim (``.claude/skills/<name>.md`` — pre-migration form).
    - Legacy ``agent/skill/`` directory still present (migration incomplete).
    - SKILLS.md missing or stale (doesn't match the regenerated aggregation).
    - Skill name violates lowercase / [a-z0-9_] convention.
    - AGENTS.md skill table: missing/orphan rows; broken link targets.
...
18
files
5,269
lines

Reading the full source

The browsable source sits behind a one-time email code — enter an address, receive a six-digit PIN, and you are in. No account, no password. The gate exists to keep the snapshot from being bulk-scraped, not to keep you out.

Open the source browser →