<commit_before># Permit standalone compilation.
HIPERMARK_LIB_DIR ?= ../../../../lib/

include $(HIPERMARK_LIB_DIR)/setup.mk

EXECUTABLE = amr_put
SOURCES = amr_put.fut

FUTFLAGS = --unsafe --real-as-single

default: $(EXECUTABLE)

amr_put.bin: $(HIPERMARK_IMPLEMENTATION_DIR)/amr_put.fut
	futhark-c $(FUTFLAGS) -o $@ $<

$(EXECUTABLE): $(EXECUTABLE).bin
	echo '#!/bin/sh' > $@
	echo './'$@'.bin -t $$HIPERMARK_RUNTIME > $$HIPERMARK_RESULT' >> $@
	chmod +x $@

clean:
	rm -rf $(EXECUTABLE) *.o

HIPERMARK_DATA_FIELDS=years
HIPERMARK_RUN_ENVIRONMENT=
include $(HIPERMARK_LIB_DIR)/flat_data_helper.mk<commit_msg>No reason for --unsafe here.<commit_after># Permit standalone compilation.
HIPERMARK_LIB_DIR ?= ../../../../lib/

include $(HIPERMARK_LIB_DIR)/setup.mk

EXECUTABLE = amr_put
SOURCES = amr_put.fut

FUTFLAGS = --real-as-single

default: $(EXECUTABLE)

amr_put.bin: $(HIPERMARK_IMPLEMENTATION_DIR)/amr_put.fut
	futhark-c $(FUTFLAGS) -o $@ $<

$(EXECUTABLE): $(EXECUTABLE).bin
	echo '#!/bin/sh' > $@
	echo './'$@'.bin -t $$HIPERMARK_RUNTIME > $$HIPERMARK_RESULT' >> $@
	chmod +x $@

clean:
	rm -rf $(EXECUTABLE) *.o

HIPERMARK_DATA_FIELDS=years
HIPERMARK_RUN_ENVIRONMENT=
include $(HIPERMARK_LIB_DIR)/flat_data_helper.mk
{'fraction_non_alphanumeric': 0.1769983686786297, 'fraction_numerical': 0.0, 'mean_word_length': 4.706976744186046, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6016155', 'n_tokens_mistral': 540, 'n_tokens_neox': 515, 'n_words': 86}