MicroFish/backend
renancloudwalk b0e9138500
feat(swarm): tiered A/B/C stock-opinions tier + gate-19 winner (rubric v15)
- run_tiered_swarm.py: variants A (flat reference), B (tiered: N deep-dive x6
  roles 2-round+gossip + screen 1-round no-gossip, 6000-agent budget), C (pure
  screen 5143 one-per-company), plus bias-control runs; deterministic tier
  assignment (top market-cap + prior-run promotion flags), promotion file,
  per-company consensus tie-break (confidence then agent_id), adversarial
  peer routing, opinion schema score 0-10 / confidence 0-1.
- winner.py: gate-19 winner function — calibration (g13/g20), tiered-quality
  (g18 beat baseline, g21 discrimination r cross-tier no-averaging-confound),
  pick B if it proves quality else C, A never ships.
- adversarial_router.py: opposite-view routing (g14) + plain reinforcing router.
- bias_control.py: synthetic neutral dossiers + McNemar symmetry (g13).
- sql/dossier_screen.sql (8-quarter trend) and dossier_deepdive.sql (strict
  superset + top holders + ownership trend) + contract tests.
- 60 tests pass (dry-run machinery end-to-end; live run is a named checkpoint).
2026-07-16 06:53:02 -03:00
..
app refactor: add type hints and FileParser.is_supported() helper 2026-05-23 14:57:46 +08:00
scripts feat(swarm): tiered A/B/C stock-opinions tier + gate-19 winner (rubric v15) 2026-07-16 06:53:02 -03:00
sql feat(swarm): tiered A/B/C stock-opinions tier + gate-19 winner (rubric v15) 2026-07-16 06:53:02 -03:00
tests feat(swarm): tiered A/B/C stock-opinions tier + gate-19 winner (rubric v15) 2026-07-16 06:53:02 -03:00
pyproject.toml feat: add stock swarm throughput benchmark 2026-07-15 12:02:57 -03:00
requirements.txt fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
run.py Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
uv.lock fix(backend): constrain Python version to 3.11-3.12 2026-05-24 22:59:36 +08:00