add skeleton codes for compact_encoding test