<commit_before>package secret

func Handshake(code uint) []string {
	panic("Please implement the Handshake function")
}<commit_msg>Pass first few cases<commit_after>package secret

import (
	"fmt"
	"strconv"
)

var operations = []string{"wink", "double blink", "close your eyes", "jump"}

func Handshake(code uint) (handshake []string) {
	binary := strconv.FormatInt(int64(code), 2)
	fmt.Printf("code %v in binary %v\n", code, binary)
	for i, v := range reverse(binary) {
		if v == '1' {
			handshake = append(handshake, operations[i])
		}
	}
	return handshake
}

func reverse(input string) (result string) {
	for _, v := range input {
		result = string(v) + result
	}
	return result
}
{'fraction_non_alphanumeric': 0.14306569343065692, 'fraction_numerical': 0.00583941605839416, 'mean_word_length': 4.716666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2964200', 'n_tokens_mistral': 240, 'n_tokens_neox': 231, 'n_words': 70}