Truncation bug in samc
Massive refactor of report.py