<commit_before>####
#### Testing, benchmarking, and release procedures for BBOP-JS.
####
#### See README.org in this directory for more detail.
####
#### A report-mistakes-only testing ("fail"s?) run can be done as:
####  make test | grep -c -i fail; test $? -ne 0
####

TESTS = $(wildcard lib/*.js.tests) \
 $(wildcard lib/bbop/*.js.tests) \
 $(wildcard lib/bbop/contrib/*.js.tests) \
 $(wildcard lib/bbop/golr/*.js.tests) \
 $(wildcard lib/bbop/golr/manager/*.js.tests) \
 $(wildcard lib/bbop/parse/*.js.tests) \
 $(wildcard lib/bbop/model/*.js.tests) \
 $(wildcard lib/bbop/widget/*.js.tests) \
 $(wildcard lib/bbop/widget/display/*.js.tests) \
 $(wildcard lib/bbop/contrib/go/*.js.tests)
#BENCHMARKS = $(wildcard _benchmark/*.js)
JS = rhino #smjs or rhino, etc.
## Some require things like "-opt -1" in some cases (big GO tests)
JSFLAGS = -opt -1 -w -strict # rhino needs this for the big GO tree
BBOP_JS_VERSION = 1.0b1
#JSENGINES = node smjs rhino

all:
	@echo "Using JS engine: $(JS)"
#	@echo "All JS engines: $(JSENGINES)"
	@echo "Tests defined: $(TESTS)"
	@echo "See README.org in the directory for more details."
#	@echo "Benchmarks defined: $(BENCHMARKS)"

###
### Tests.
###

.PHONY: test $(TESTS)
<commit_msg>match version number<commit_after>####
#### Testing, benchmarking, and release procedures for BBOP-JS.
####
#### See README.org in this directory for more detail.
####
#### A report-mistakes-only testing ("fail"s?) run can be done as:
####  make test | grep -c -i fail; test $? -ne 0
####

TESTS = $(wildcard lib/*.js.tests) \
 $(wildcard lib/bbop/*.js.tests) \
 $(wildcard lib/bbop/contrib/*.js.tests) \
 $(wildcard lib/bbop/golr/*.js.tests) \
 $(wildcard lib/bbop/golr/manager/*.js.tests) \
 $(wildcard lib/bbop/parse/*.js.tests) \
 $(wildcard lib/bbop/model/*.js.tests) \
 $(wildcard lib/bbop/widget/*.js.tests) \
 $(wildcard lib/bbop/widget/display/*.js.tests) \
 $(wildcard lib/bbop/contrib/go/*.js.tests)
#BENCHMARKS = $(wildcard _benchmark/*.js)
JS = rhino #smjs or rhino, etc.
## Some require things like "-opt -1" in some cases (big GO tests)
JSFLAGS = -opt -1 -w -strict # rhino needs this for the big GO tree
BBOP_JS_VERSION = 2.0b1
#JSENGINES = node smjs rhino

all:
	@echo "Using JS engine: $(JS)"
#	@echo "All JS engines: $(JSENGINES)"
	@echo "Tests defined: $(TESTS)"
	@echo "See README.org in the directory for more details."
#	@echo "Benchmarks defined: $(BENCHMARKS)"

###
### Tests.
###

.PHONY: test $(TESTS)

{'fraction_non_alphanumeric': 0.193390452876377, 'fraction_numerical': 0.004895960832313341, 'mean_word_length': 3.7427466150870408, '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': '5459249', 'n_tokens_mistral': 957, 'n_tokens_neox': 918, 'n_words': 256}