Code / public_research_code/ARCHITECTURE.md

public_research_code/ARCHITECTURE.md

View this file on Codeberg


  1
  # Architecture


  2
  


  3
  HuleEdu authors a positive inventory of public files. The released projector


  4
  materializes those files from one committed HuleEdu tree into a new curated


  5
  research-code edition. The edition is generated output, not an editable source


  6
  of truth.


  7
  


  8
  General `common_core` contract files are included as the current import closure;


  9
  they are not presented as research features.


  10
  


  11
  The source inventory preserves selected HuleEdu paths. It covers the shared


  12
  feature-contract registry and extraction seams, local embedding implementation


  13
  and import-light configuration, training and score interpretation, comparative


  14
  judgement orchestration and its typed provider boundary, plus Bradley--Terry


  15
  aggregation. Source that describes an excluded runtime boundary remains


  16
  inspectable, but the edition does not claim that provider, Hemma, database,


  17
  queue, or model-backed execution is available.


  18
  


  19
  `run_synthetic_demo.py` is the runnable vertical. It imports the real current


  20
  registry, half-band score mapping, and Fisher-information Bradley--Terry code


  21
  with deterministic numeric inputs. Its direct dependencies are NumPy and


  22
  Pydantic; it deliberately does not import embedding or provider runtimes.


  23
  


  24
  Before a generated edition is accepted, the HuleEdu content check verifies its


  25
  own inventory and manifest, the complete candidate file set, regular UTF-8


  26
  files, permitted paths, and credential-like content. Python source under a


  27
  `models` namespace is permitted because it defines typed contracts; non-source


  28
  model directories remain refused.