Vendor pinned MeZO, AGZO, LOZO and LoREN sources with independent environments. Add direct in-place fix/adjust/node training, derived history-free basis gradients, development-best checkpoints and experiment tooling. Keep models, datasets, caches and credentials outside Git. Validation: 93 project tests passed; 521 vendored author files verified.
15 lines
658 B
Python
15 lines
658 B
Python
"""Verify vendored author files even after cloning the outer project without upstream Git objects."""
|
|
import hashlib
|
|
import json
|
|
from pathlib import Path
|
|
ROOT=Path(__file__).resolve().parents[1]
|
|
manifest=json.loads((ROOT/'upstream_files.sha256.json').read_text())
|
|
checked=0
|
|
for method,entry in manifest.items():
|
|
for name,expected in entry['files'].items():
|
|
path=ROOT/'baselines'/method/name
|
|
assert path.is_file(),f'Missing official file: {path}'
|
|
assert hashlib.sha256(path.read_bytes()).hexdigest()==expected,f'Modified official file: {path}'
|
|
checked+=1
|
|
print(json.dumps({'passed':True,'official_files_checked':checked}))
|