What the measurements mean
Only what is unusual for this project. Every sentence names the field it came from; nothing here is asserted that cannot be checked against the data.
- 576,891 of its 776,568 measured lines are not authored code — mostly data_cache, backups, which is why the headline figure is 199,677 rather than the raw count. attribution authored_linesfrom code_lines, authored_lines, line_accounting
- At 199,677 authored lines it is one of the larger things here, roughly 24x the median project in this estate. authored_linesfrom authored_lines
- It declares port 5000, so it runs as a service rather than a script.from assets.routes, assets.ports
- The code defines 3,973 functions, 2,294 methods and 628 classes. Only 422 of its 423 Python files were parsed, so those are floors rather than totals.see the evidencefrom pythonAst.counts, pythonAst.coverage
How it works
Analytical tools decay quietly: a calculation changes, the documentation does not, and nobody notices until a number is wrong. So a status registry of implemented features and open integrity issues is kept beside the code, fed by a diagnostics tool inside the app. The analysis combines a stacking ensemble of six models (a final model that learns how to weigh the others) with a nine-gate signal system, and both feed ranking, macro and news layers. The results of agent debates are stored as data, so a recommendation can be traced back to its inputs. Heavy work runs only in an off-hours compute window, and during the day the site serves a static snapshot. Each stage writes to a run ledger, and a failure raises an alert on the first occurrence, on the third and on recovery, rather than on every repeat. Each night a research shortlist is built from overnight events, passed through a quality gate and capped per sector, and its forward returns are tracked point in time against a benchmark. Snapshots can be created, verified and restored, so a past state can be reproduced.
What it is built from
Each bar is one of this project's own modules, sized by how many times the rest of the project imports it. The counts are measured, not estimated, and the module at the top is the one the rest of the project leans on most.
What kind of engineering this is
Six signals counted from the source: files that run models locally, that act without being asked each time, that check their own output, that survive failure, that touch parsers and protocols, and that were measured then improved. Every axis carries its file count.
What it is written in
Share of code bytes. Vendored bundles and generated output are set aside before this is computed, which is why it differs from a simple file count.
What stands out
- A nightly research shortlist with a point-in-time track record against a benchmark
- Heavy work runs in an off-hours window while the daytime site serves a static snapshot
- A run ledger on every pipeline stage, with alerts that do not repeat themselves
- Snapshots can be created, verified and restored, so a past state can be reproduced
- Agent debate results are stored as data, not just shown and discarded
Capabilities
- TSX Energy Ranker
- Rankings
- Features
- News
- Macro
- Visuals
- Refresh
- Export CSV
- Logout
- Reanalyze
Grade
Every check names the field it measured. Checks that cannot apply are excluded, never counted as failures.
- provenance100.0%
- documentation100.0%
- runnability100.0%
- maintenance100.0%
- integrity70.0%
Not met
- attribution 25% of measured lines are authored
check excluded_dirs on the project page
Architecture
Directories carrying real modules, largest first.
core88 modules(root)2 modules
Data model
Typed structures and tables found in the source.
- DebateResult
- AgentRun
- AVClient
- BudgetState
- AllocationPlan
- SourceStats
- BackupJob
- BackupFile
- BackupResult
- BoCClient
- CacheConfig
- CBOEClient
Vulnerable dependencies
7 declared dependencies match a published advisory. Checked offline against the OSV database; only pinned versions can be checked, so anything unpinned here is unknown rather than clean.
- Act now.
pypdf6.21.2→ 6.21.3GHSA-42gh-23hr-vphw, GHSA-4vqv-7265-gm2w, GHSA-5849-834g-hvw5 - Act now.
soupsieve2.9→ 3.0.2GHSA-7g44-g9rc-x53w, GHSA-6655-6qjp-jx7x, GHSA-mmhr-3c5m-f64f - Act now.
torch2.5.1+cu121→ 2.6.0GHSA-3749-ghw9-m3mg, GHSA-53q9-r3pm-6pq6, GHSA-63cw-57p8-fm3p - Act now.
transformers4.57.6→ 5.3.0GHSA-29pf-2h5f-8g72, GHSA-69w3-r845-3855, GHSA-fgcw-684q-jj6r - Should fix.
accelerate1.13.0no fix publishedGHSA-4j2p-28q2-5m79, PYSEC-2026-3804 - Should fix.
filelock3.20.3→ 4.2.1GHSA-69hj-f68j-2879, GHSA-8mx5-7m5m-r77g - Should fix.
requests2.32.5→ 2.33.0GHSA-gc5v-m9x4-r6x2, PYSEC-2026-2275
Vocabulary
Parsed 422 of 423 Python file(s); the rest were over the size budget. Counts are exact; the names below are a sample.
Classes
PandasModelapp.py:261__init__, rowCount, columnCount, data, headerData, sortWorkerSignalsapp.py:360DataWorkerapp.py:365__init__, runMainWindowapp.py:387__init__, _build_summary_tab, _build_features_tab, _build_ml_tab, _build_news_tab, _build_NewsItemcore/news.py:30CacheConfigcore/cache.py:17LocalCachecore/cache.py:39__init__, _safe_name, infer_return_basis, _price_meta, _pq_path, _json_path, migrate_pkl_tMacroSeriesSpeccore/macro.py:159BackupJobcore/backup.py:130_BackupTimedOutcore/backup.py:337BackupFilecore/backup.py:411from_dictBackupResultcore/backup.py:436_BackupCancelledcore/backup.py:451UserDBcore/user_db.py:117__init__, close, _conn, _init_schema, _migrate, user_count, create_user, get_user_InfoCircuitBreakercore/features.py:578__init__, disabled, record_success, record_failureKeepWarmDecisioncore/keep_warm.py:32is_noop, to_dictTaxSuggestioncore/tax_aware.py:62TaxAwareReportcore/tax_aware.py:76TDErrorcore/td_client.py:32TDRateLimitErrorcore/td_client.py:36TDConfigcore/td_client.py:41TDClientcore/td_client.py:51__post_init__, enabled, daily_budget_remaining, _check_daily_reset, _rate_limit_wait, _req_TimeoutHTTPAdaptercore/yf_client.py:47__init__, sendYFConfigcore/yf_client.py:71
Functions
_score_bg_colorapp.py:63_cell_bgapp.py:70_format_valueapp.py:81_cell_colorapp.py:88_ml_metrics_textapp.py:152_reorder_colsapp.py:250load_settingsapp.py:352_empty_dfapp.py:356mainapp.py:928_parse_dtcore/news.py:37_clean_textcore/news.py:45_lexicon_sentimentcore/news.py:49fetch_news_itemscore/news.py:70score_news_for_tickerscore/news.py:97fetch_gdelt_intensitycore/news.py:140fmtcore/news.py:156_now_tscore/cache.py:29_age_hourscore/cache.py:33_trackcore/macro.py:26_is_commodity_or_indexcore/macro.py:38_passes_macro_sanitycore/macro.py:88_can_skip_macro_fetchcore/macro.py:122_record_macro_skipcore/macro.py:138_ensure_dt_indexcore/macro.py:164
Command line
- create
- list
- verify
- restore
- prune
- cancel
- --actor
- --no-compress
- --stamp
- --confirm
- --dest
- --run-id
Depth
Signals counted from the code, not asserted.
693 commits across 44 separate working days over 7.6 months, 193 of them revising existing behaviour
Built from scratch
- Concurrency primitives
- Scheduler / state machine
- Parser / lexer
Closes its own loop
- Evaluation / scoring
- Tool-calling agents
- Planning / decomposition
- Memory / accumulated state
Proves itself
- Reconciliation / audits
- Golden / baseline files
- Backtesting / evaluation
- Benchmarks
Survives failure
- Fallback paths
- Logging / observability
- Timeouts
- Recovery / restore
- Retry / backoff
- Rate limiting
Local inference
- LM Studio
- TabbyAPI / ExLlama
Systems
Environment engineering
- Virtual environments
- Bootstrap scripts
- Dependency isolation
- Runtime detection
Working within limits
- Timeout budgets
- Throttling / rate limits
Operating-system internals
- Process control
- Scheduled tasks
- Elevation / UAC
Distributed systems
- Worker orchestration
Languages
- Python170,004
- JavaScript17,750
- PowerShell341
- Batchfile297
Built with
- Flask
- PyQt
- PyTorch
- scikit-learn
- pandas
- NumPy
- Playwright
- pip
Recurring themes in the commit history
- register
- stooq
- status
- log
- feat-127
- research
- candidates
- today
- sector
- flows
Evidence
Taken from the code itself: a module docstring or the opening of the README.
Flask web dashboard - personal stock portfolio tracker on port 5050. Status registry: see ``docs/STATUS.md`` for the authoritative list of implemented features, open integrity issues, calculation audit log, and in-progress / planned work. Update that file (not this docstring) when you add a feature, find a bug, or verify a formula.
At a glance
- Status
- active
- Primary language
- Python
- First commit
- 2026-03-03
- Last activity
- 2026-10-20
- Domain
- AI & machine learning
- Agent docs
- CLAUDE.md, AGENTS.md, PROJECT_KNOWLEDGE.md, .claude, .superpowers