<commit_before>
HOME=/usr/local
PACKAGE=/home/sec312/package
SRCDIR=$(PACKAGE)/qdbb/src
TESTDIR=$(PACKAGE)/qdbb/test
INCLUDES=-I$(PACKAGE)/mosek/7/tools/platform/linux64x86/h \
         -I$(PACKAGE)/lapack-3.5.0/lapacke/include

LIBS=-L$(PACKAGE)/mosek/7/tools/platform/linux64x86/bin \
  -lmosek64 \
  -lblas -llapack

CFLAGS=-ggdb -Wall -Wno-unused-value -g -O0  -Wl,-rpath-link=$(PACKAGE)/mosek/7/tools/platform/linux64x86/bin


DEBUG=0
CC=g++ $(CFLAGS)
SRCFILES=$(SRCDIR)/qdbb.cpp \
         $(TESTDIR)/portfolio.cpp
SRCCARDINALITY=$(SRCDIR)/qdbb.cpp \
        $(TESTDIR)/portfolio.cpp \
        $(TESTDIR)/cardinality.cpp
SRCROUNDLOT=$(SRCDIR)/qdbb.cpp \
        $(TESTDIR)/portfolio.cpp \
        $(TESTDIR)/roundlot.cpp
SRCPORT = $(SRCDIR)/qdbb.cpp \
	$(TESTDIR)/portfolio.cpp \
	$(TESTDIR)/roundlot.cpp \
	$(TESTDIR)/cardinality.cpp \
	$(TESTDIR)/single.cpp \
	$(TESTDIR)/diverse.cpp
#test_main.cpp
#$(SRCDIR)/portfolio.cpp

all: $(SRCFILES)
	$(CC) $(SRCFILES) -o qdbb $(INCLUDES) $(LIBS)
	# ./qdbb asset rule priority selection limit cut/iter iter C     R    tolerance**
	#              0-5  0-1      0-1       >0    -1, >0   >0              >0
	# ./qdbb 10    1    0        0         100   2        1    10000 0.06 

portfolio: $(SRCPORT)
	$(CC) $(SRCPORT) -o portfolio $(INCLUDES) $(LIBS)
	# ./portfolio -type          -d    -a    -C        -r      -b    -c    -s     -l     -x   -i   -p   -o   -f
	# ./portfolio -type roundlot -d AA -a 10 -C 100000 -r 0.06 -b mf -c mf -s df0 -l 100 -x 0 -i 1 -p 2 -o 1 -f 0

roundlot: $(SRCROUNDLOT)<commit_msg>Makefile is updated for combined<commit_after>
HOME=/usr/local
PACKAGE=/home/sec312/package
SRCDIR=$(PACKAGE)/qdbb/src
TESTDIR=$(PACKAGE)/qdbb/test
INCLUDES=-I$(PACKAGE)/mosek/7/tools/platform/linux64x86/h \
         -I$(PACKAGE)/lapack-3.5.0/lapacke/include

LIBS=-L$(PACKAGE)/mosek/7/tools/platform/linux64x86/bin \
  -lmosek64 \
  -lblas -llapack

CFLAGS=-ggdb -Wall -Wno-unused-value -g -O0  -Wl,-rpath-link=$(PACKAGE)/mosek/7/tools/platform/linux64x86/bin


DEBUG=0
CC=g++ $(CFLAGS)
SRCFILES=$(SRCDIR)/qdbb.cpp \
         $(TESTDIR)/portfolio.cpp
SRCCARDINALITY=$(SRCDIR)/qdbb.cpp \
        $(TESTDIR)/portfolio.cpp \
        $(TESTDIR)/cardinality.cpp
SRCROUNDLOT=$(SRCDIR)/qdbb.cpp \
        $(TESTDIR)/portfolio.cpp \
        $(TESTDIR)/roundlot.cpp
SRCPORT = $(SRCDIR)/qdbb.cpp \
	$(TESTDIR)/portfolio.cpp \
	$(TESTDIR)/roundlot.cpp \
	$(TESTDIR)/cardinality.cpp \
	$(TESTDIR)/single.cpp \
	$(TESTDIR)/diverse.cpp \
	$(TESTDIR)/combined.cpp
#test_main.cpp
#$(SRCDIR)/portfolio.cpp

all: $(SRCFILES)
	$(CC) $(SRCFILES) -o qdbb $(INCLUDES) $(LIBS)
	# ./qdbb asset rule priority selection limit cut/iter iter C     R    tolerance**
	#              0-5  0-1      0-1       >0    -1, >0   >0              >0
	# ./qdbb 10    1    0        0         100   2        1    10000 0.06 

portfolio: $(SRCPORT)
	$(CC) $(SRCPORT) -o portfolio $(INCLUDES) $(LIBS)
	# ./portfolio -type          -d    -a    -C        -r      -b    -c    -s     -l     -x   -i   -p   -o   -f
	# ./portfolio -type roundlot -d AA -a 10 -C 100000 -r 0.06 -b mf -c mf -s df0 -l 100 -x 0 -i 1 -p 2 -o 1 -f 0

roundlot: $(SRCROUNDLOT)
{'fraction_non_alphanumeric': 0.17531645569620252, 'fraction_numerical': 0.04683544303797468, 'mean_word_length': 2.1832829808660623, 'pattern_counts': {'":': 0, '<': 3, '<?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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3570432', 'n_tokens_mistral': 1393, 'n_tokens_neox': 1331, 'n_words': 260}