Every tracked file that can carry a comment (880 of them) now opens with "Author: Guoliang Chen, a Senior Digital Design Engineer" and closes with "Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com", in the file's own comment syntax. No behaviour change: the diff outside the version bump and changelogs is comment lines only. - tools/stamp_author.py: writes the lines; idempotent, `--check` lists what is missing. Headers go under a shebang and under Markdown front matter. - Left alone: test fixtures, cases and snapshots (byte-exact inputs), JSON and JSONL, logs, images, lockfiles, docs/site/dist (regenerated) and the LICENSE files (already carry the copyright line). - tools/linux_check.sh: --help reads its header from line 3, now that the author line sits under the shebang. - tools/gates.sh green on this tree: 5 545 tests, corpus 814/6 as before. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
16 lines
1.5 KiB
Python
16 lines
1.5 KiB
Python
# Author: Guoliang Chen, a Senior Digital Design Engineer
|
|
|
|
import subprocess,pathlib,json,time,os
|
|
out=pathlib.Path('/tmp/lucisv-perf-review-20260909')
|
|
commands=[('warm-priming-proof',['python3',str(out/'warm_priming_probe.py')]),('symlink-lifecycle',['python3',str(out/'symlink_lifecycle.py')]),('fmt',['cargo','fmt','--all','--','--check']),('clippy',['cargo','clippy','--workspace','--all-targets','--locked','--','-D','warnings']),('tests',['cargo','test','--workspace','--locked'])]
|
|
for label,server in [('0.51.0-reference',str(out/'reference/target/release/lucisv-server')),('0.52.0-review','/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server')]:
|
|
commands.insert(0,('warm-retest-'+label,['python3','tools/perf/bench.py','scanloadprobe','--server',server,'--label',label,'--opentitan','/Users/guoliangchen/repo/opentitan','--storage',str(out/'caches'/label),'--out',str(out/'load-retest.jsonl'),'--tries','3']))
|
|
for name,args in commands:
|
|
cmd=['tools/guard.sh','-m','8','-t','1800','--']+args
|
|
print('START',name,flush=True);started=time.time()
|
|
with (out/(name+'.log')).open('w') as f:r=subprocess.run(cmd,stdout=f,stderr=subprocess.STDOUT,env=dict(os.environ,PYTHONDONTWRITEBYTECODE='1'))
|
|
with (out/'verification-runs.jsonl').open('a') as f:f.write(json.dumps(dict(name=name,command=cmd,exit=r.returncode,start=started,end=time.time()))+'\n')
|
|
print('END',name,r.returncode,flush=True)
|
|
|
|
# Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com
|