Browse Source

modify testcase for getCollectionStatistics (#470)

Signed-off-by: yongpengli-z <yongpeng.li@zilliz.com>
yongpengli-z 2 years ago
parent
commit
c9f9750b90

+ 1 - 1
tests/milvustest/pom.xml

@@ -84,7 +84,7 @@
         <dependency>
         <dependency>
             <groupId>io.milvus</groupId>
             <groupId>io.milvus</groupId>
             <artifactId>milvus-sdk-java</artifactId>
             <artifactId>milvus-sdk-java</artifactId>
-            <version>2.2.3</version>
+            <version>2.2.5</version>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
             <groupId>com.google.protobuf</groupId>
             <groupId>com.google.protobuf</groupId>

+ 23 - 2
tests/milvustest/src/test/java/com/zilliz/milvustest/collection/GetCollectionStatisticsTest.java

@@ -2,21 +2,42 @@ package com.zilliz.milvustest.collection;
 
 
 import com.zilliz.milvustest.common.BaseTest;
 import com.zilliz.milvustest.common.BaseTest;
 import com.zilliz.milvustest.common.CommonData;
 import com.zilliz.milvustest.common.CommonData;
+import com.zilliz.milvustest.common.CommonFunction;
 import io.milvus.grpc.GetCollectionStatisticsResponse;
 import io.milvus.grpc.GetCollectionStatisticsResponse;
 import io.milvus.param.R;
 import io.milvus.param.R;
+import io.milvus.param.collection.DropCollectionParam;
 import io.milvus.param.collection.GetCollectionStatisticsParam;
 import io.milvus.param.collection.GetCollectionStatisticsParam;
+import io.milvus.param.dml.InsertParam;
 import io.milvus.response.GetCollStatResponseWrapper;
 import io.milvus.response.GetCollStatResponseWrapper;
 import io.qameta.allure.Epic;
 import io.qameta.allure.Epic;
 import io.qameta.allure.Feature;
 import io.qameta.allure.Feature;
 import io.qameta.allure.Severity;
 import io.qameta.allure.Severity;
 import io.qameta.allure.SeverityLevel;
 import io.qameta.allure.SeverityLevel;
 import org.testng.Assert;
 import org.testng.Assert;
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 import org.testng.annotations.Test;
 
 
+import java.util.List;
+
 @Epic("Collection")
 @Epic("Collection")
 @Feature("GetCollectionStatistics")
 @Feature("GetCollectionStatistics")
 public class GetCollectionStatisticsTest extends BaseTest {
 public class GetCollectionStatisticsTest extends BaseTest {
 
 
+  public String commonCollection;
+
+  @BeforeClass(description = "Create collection before test",alwaysRun=true)
+  public void provideCollectionName() {
+    String newCollection = CommonFunction.createNewCollection();
+    commonCollection = newCollection;
+    List<InsertParam.Field> fields = CommonFunction.generateData(2000);
+    CommonFunction.insertDataIntoCollection(newCollection,fields);
+  }
+  @AfterClass(description = "drop collection before test",alwaysRun=true)
+  public void dropCollection() {
+    milvusClient.dropCollection(DropCollectionParam.newBuilder().withCollectionName(commonCollection).build());
+  }
+
   @Severity(SeverityLevel.BLOCKER)
   @Severity(SeverityLevel.BLOCKER)
   @Test(description = "Shows the statistics information of a collection.",groups = {"Smoke"})
   @Test(description = "Shows the statistics information of a collection.",groups = {"Smoke"})
   public void getCollectionStatisticsInfo() {
   public void getCollectionStatisticsInfo() {
@@ -24,7 +45,7 @@ public class GetCollectionStatisticsTest extends BaseTest {
         milvusClient
         milvusClient
             .getCollectionStatistics( // Return the statistics information of the collection.
             .getCollectionStatistics( // Return the statistics information of the collection.
                 GetCollectionStatisticsParam.newBuilder()
                 GetCollectionStatisticsParam.newBuilder()
-                    .withCollectionName(CommonData.defaultCollection)
+                    .withCollectionName(commonCollection)
                     .withFlush(false)
                     .withFlush(false)
                     .build());
                     .build());
     Assert.assertEquals(respCollectionStatistics.getStatus().intValue(), 0);
     Assert.assertEquals(respCollectionStatistics.getStatus().intValue(), 0);
@@ -41,7 +62,7 @@ public class GetCollectionStatisticsTest extends BaseTest {
         milvusClient
         milvusClient
             .getCollectionStatistics( // Return the statistics information of the collection.
             .getCollectionStatistics( // Return the statistics information of the collection.
                 GetCollectionStatisticsParam.newBuilder()
                 GetCollectionStatisticsParam.newBuilder()
-                    .withCollectionName(CommonData.defaultCollection)
+                    .withCollectionName(commonCollection)
                     .withFlush(true)
                     .withFlush(true)
                     .build());
                     .build());
     Assert.assertEquals(respCollectionStatistics.getStatus().intValue(), 0);
     Assert.assertEquals(respCollectionStatistics.getStatus().intValue(), 0);

+ 1357 - 0
tests/milvustest/src/test/java/resources/temp/rowJson0.json

@@ -0,0 +1,1357 @@
+{
+   "rows":
+   [
+      {
+         "word_count":0,
+         "book_intro":
+         [
+            0.07629040559218703,
+            0.25516514898018927,
+            0.8551498033355778,
+            0.513908417208332,
+            0.3924537304353165,
+            0.9767118941986545,
+            0.7574693939241576,
+            0.6514600946325556,
+            0.8790757526355516,
+            0.8698573021729041,
+            0.23263509110026492,
+            0.790149243556796,
+            0.5678083632860819,
+            0.3593417394722267,
+            0.28959880566394636,
+            0.971629908369697,
+            0.8344945424519119,
+            0.4105857548838119,
+            0.3559069676487725,
+            0.907100842551871,
+            0.4913252138933446,
+            0.3153735802226204,
+            0.8115235343886616,
+            0.8032154882653771,
+            0.5241769258937858,
+            0.8841078255161291,
+            0.03540270539538426,
+            0.6658673847424359,
+            0.3687153650497208,
+            0.4492072783219876,
+            0.14794728580099292,
+            0.1392552729463562,
+            0.705764040208706,
+            0.7101956644872306,
+            0.8600277965229297,
+            0.329232209309521,
+            0.3746014748466966,
+            0.8582560865074497,
+            0.09802635334809295,
+            0.7327959174869817,
+            0.15226439489612187,
+            0.6065021952817427,
+            0.36440858014864985,
+            0.34967859582585403,
+            0.8275980695220811,
+            0.7219444466993011,
+            0.11461566818113722,
+            0.2873456501109689,
+            0.21070970431660463,
+            0.40610488708998793,
+            0.7836080826545452,
+            0.6873151854723176,
+            0.461644215654341,
+            0.4034622847515157,
+            0.4791811126862484,
+            0.5985607965137396,
+            0.3965160816026039,
+            0.03038437300732999,
+            0.774211638588583,
+            0.5028624444947118,
+            0.23499501710692938,
+            0.41193172223740226,
+            0.4762848680214832,
+            0.5573213672624553,
+            0.5899572124998734,
+            0.08989354568727004,
+            0.7306882672219783,
+            0.2608565068048586,
+            0.3682779537173464,
+            0.8226427256449961,
+            0.32154955654090545,
+            0.17435202468868694,
+            0.6511555652498479,
+            0.8358737346419083,
+            0.5759342604102181,
+            0.5282263340240227,
+            0.5530204996834661,
+            0.0030138147507066115,
+            0.8470076887701231,
+            0.03654488352440277,
+            0.5199978602613136,
+            0.4350740813703604,
+            0.1549050537005906,
+            0.003400999259268067,
+            0.5220550460924448,
+            0.7419342089847775,
+            0.1977426601020501,
+            0.8551398880015094,
+            0.11738111645197846,
+            0.7905303812326177,
+            0.6102419331914369,
+            0.561102712535755,
+            0.42320764750113427,
+            0.1301434068972097,
+            0.043727516304628455,
+            0.015919733755690224,
+            0.6141956395693148,
+            0.38095964981047026,
+            0.36879928500743775,
+            0.34798220791108336,
+            0.6876766691673776,
+            0.7893048383080246,
+            0.06076754674475693,
+            0.29157495059490435,
+            0.8844508446881849,
+            0.8414266901235632,
+            0.6179793496780839,
+            0.21425275839519908,
+            0.33450762387311306,
+            0.2974293532825186,
+            0.6844534534113832,
+            0.12639563018555378,
+            0.20895062837191358,
+            0.25793880668349567,
+            0.40078003182145305,
+            0.01647887990842467,
+            0.9025703866973738,
+            0.9083052992740954,
+            0.3910306107496231,
+            0.15344634603925433,
+            0.5459241454414121,
+            0.3986250992162269,
+            0.708462556057087,
+            0.57667610215984,
+            0.45144520333997706,
+            0.9125909580259085,
+            0.009091559269634453,
+            0.8543797887283214
+         ],
+         "book_id":0
+      },
+      {
+         "word_count":1,
+         "book_intro":
+         [
+            0.9350185195745041,
+            0.3541563702769889,
+            0.19974492933202292,
+            0.3328780390419267,
+            0.32262361329876654,
+            0.23822614572796352,
+            0.8159970020729506,
+            0.5220463268145813,
+            0.8510594693399283,
+            0.3100620870385489,
+            0.4254274715925531,
+            0.9663269650603499,
+            0.6024305023355249,
+            0.1378185766575606,
+            0.4229324547105806,
+            0.936054651341167,
+            0.573986460844554,
+            0.42360054323573426,
+            0.6873568741746652,
+            0.5404441527465322,
+            0.4780736663037417,
+            0.060661756546821044,
+            0.7025062272975152,
+            0.41144091553758766,
+            0.8913682121360927,
+            0.02783850508486696,
+            0.9106346380638042,
+            0.93673637873757,
+            0.9282270188169667,
+            0.0570404752917586,
+            0.26279507718465933,
+            0.13060162444527668,
+            0.6999051828915839,
+            0.635596494611602,
+            0.15797677608000438,
+            0.622794533096179,
+            0.4395537875780301,
+            0.31248010645309376,
+            0.22174412753424422,
+            0.9186470528145577,
+            0.322324956490323,
+            0.4659161357668481,
+            0.6651301766536133,
+            0.03754088111625564,
+            0.6905758541996031,
+            0.6595959396254625,
+            0.28582674189922863,
+            0.8723313773028086,
+            0.6060772001555751,
+            0.46570576891833004,
+            0.5262527740179784,
+            0.12888106864892745,
+            0.39429561958928205,
+            0.1651990735001866,
+            0.38687109171377176,
+            0.502715668025411,
+            0.12023387929574558,
+            0.04922039401902156,
+            0.4081630342430277,
+            0.828917204127846,
+            0.7409763485639931,
+            0.14031461141051627,
+            0.38095942717025455,
+            0.30172008195145816,
+            0.017001568191540195,
+            0.028032408810326204,
+            0.922365507055342,
+            0.5018781306803367,
+            0.13248781535115794,
+            0.170768947954832,
+            0.5633063488056774,
+            0.892721351041745,
+            0.37425157041269086,
+            0.4541494184280772,
+            0.5337584669587133,
+            0.6499233928665112,
+            0.14962270445251558,
+            0.016002044948911776,
+            0.0030223510432294542,
+            0.17535209388552775,
+            0.08547457935207137,
+            0.348935023975686,
+            0.13492981990607877,
+            0.4119767953661212,
+            0.943790894001845,
+            0.4737610755208156,
+            0.9516688083519887,
+            0.12465794687602949,
+            0.6135657934264535,
+            0.5404893656214103,
+            0.6649478131268867,
+            0.6407461401116433,
+            0.4944970686419049,
+            0.5583316251721374,
+            0.8295107721280973,
+            0.1547688425155025,
+            0.17484688105560253,
+            0.0821451713218797,
+            0.40155250829394906,
+            0.5930852403530547,
+            0.4240084686768685,
+            0.589962865872079,
+            0.5433738160155935,
+            0.2072407214624673,
+            0.16973092603579876,
+            0.9747359153654964,
+            0.805654414072801,
+            0.5188543436673673,
+            0.31061881112143674,
+            0.04314261633661487,
+            0.1400109922964431,
+            0.9742239388567137,
+            0.9264368452770326,
+            0.16529206880584635,
+            0.047046528810269383,
+            0.6834354721803162,
+            0.6919145710047179,
+            0.2513789951318446,
+            0.04888645744291564,
+            0.9166144801713302,
+            0.07415922325544477,
+            0.04482199382467511,
+            0.5902359286349476,
+            0.6090588343650122,
+            0.19945002362850794,
+            0.3161444679950933,
+            0.4182817177031396,
+            0.9873445078976687
+         ],
+         "book_id":1
+      },
+      {
+         "word_count":2,
+         "book_intro":
+         [
+            0.11210009240316166,
+            0.9178334566439826,
+            0.4693013230896331,
+            0.5700962876937288,
+            0.5162372882921221,
+            0.8176389140564716,
+            0.29863092615311326,
+            0.21996813824567119,
+            0.9907686261388396,
+            0.16625199065182583,
+            0.13068273592016733,
+            0.6274786100046662,
+            0.09845733459915729,
+            0.17502753470619392,
+            0.6769915322632906,
+            0.5926989319125647,
+            0.7719553408162939,
+            0.08039279216653994,
+            0.9728094276669281,
+            0.7373923725953437,
+            0.8527987059483968,
+            0.7538105203630134,
+            0.6165562162241219,
+            0.8280554376866067,
+            0.6837866615358164,
+            0.5796418068092614,
+            0.9614727168723162,
+            0.719412971738789,
+            0.2108297946643678,
+            0.0679798146013324,
+            0.005112803959437917,
+            0.03827062473837273,
+            0.1372665002496215,
+            0.2955026665577214,
+            0.949849347163908,
+            0.11922982770101354,
+            0.2918110433901514,
+            0.6746201665638273,
+            0.6663580131156716,
+            0.3766219968516866,
+            0.5207106936554466,
+            0.7396655750354483,
+            0.58208224329113,
+            0.25112021109839244,
+            0.0953533467822113,
+            0.6086100569863087,
+            0.8379715992959366,
+            0.1048381871937829,
+            0.838480986562646,
+            0.529754421129737,
+            0.9093246088489321,
+            0.9553278323333108,
+            0.9153289908769386,
+            0.4550789064506914,
+            0.2703568794868254,
+            0.7367385065018341,
+            0.5104243560707407,
+            0.8954083600535564,
+            0.09715344135651471,
+            0.8555023782752117,
+            0.4164411284971956,
+            0.4072771272188539,
+            0.4499541199905609,
+            0.16826177227665595,
+            0.8984243249918643,
+            0.9373540748895254,
+            0.8532592593401931,
+            0.1513565417073397,
+            0.0648584037400387,
+            0.9075148386673956,
+            0.7010327434586213,
+            0.9540402883636951,
+            0.3764702461215773,
+            0.36212515889680597,
+            0.4543176029983924,
+            0.23169633282554492,
+            0.8543204482424214,
+            0.7188256512138768,
+            0.16986911801095617,
+            0.1406757569975282,
+            0.010650945019170743,
+            0.6650844963429176,
+            0.5009492893623732,
+            0.6429813598704724,
+            0.5191211826410234,
+            0.5250119720539024,
+            0.9452154732549783,
+            0.3168729554370744,
+            0.16547888916644782,
+            0.984406298208157,
+            0.7796749611789383,
+            0.1985710842463393,
+            0.6753755937689413,
+            0.4067277533118947,
+            0.8189668179471601,
+            0.7905875792881394,
+            0.6029512637155223,
+            0.09867379718449987,
+            0.8607706794607219,
+            0.26381332742568986,
+            0.5819764218164883,
+            0.7912551582766587,
+            0.44093182879451187,
+            0.05334453912590953,
+            0.8907539652324307,
+            0.2907488783370554,
+            0.31093067262501883,
+            0.5021313553683001,
+            0.4626472550132841,
+            0.7236312525890984,
+            0.8716138773336148,
+            0.9418828815460155,
+            0.1860150650104494,
+            0.05056997022491916,
+            0.6496433886697245,
+            0.6172657655995556,
+            0.5804977880560482,
+            0.5567812184049316,
+            0.7869087082768702,
+            0.15728365850968729,
+            0.7110137310081736,
+            0.8395345101023947,
+            0.4281871197695386,
+            0.8768273760166027,
+            0.5064880026095989,
+            0.4083139525306009,
+            0.8386247499991202,
+            0.05173687885871747
+         ],
+         "book_id":2
+      },
+      {
+         "word_count":3,
+         "book_intro":
+         [
+            0.48725101842521745,
+            0.389121868413177,
+            0.06015174062177331,
+            0.4523173480181809,
+            0.273207167666501,
+            0.9816365838081309,
+            0.924732503499079,
+            0.8431040074267846,
+            0.14428873403742848,
+            0.2564135155850452,
+            0.2823922562302127,
+            0.8607709888955938,
+            0.35537403811325696,
+            0.5990442401337084,
+            0.37324914697092204,
+            0.6674319742595007,
+            0.8697625682376398,
+            0.6091662641835919,
+            0.37532103573249187,
+            0.04318116060692179,
+            0.6684645441692542,
+            0.5444408776794154,
+            0.29366473526524495,
+            0.129575166820316,
+            0.8169758116625611,
+            0.46309501925524954,
+            0.5214444652123451,
+            0.8648578963341285,
+            0.026873178683008425,
+            0.06334795718831066,
+            0.599815945110226,
+            0.26208165826728624,
+            0.5364799323082194,
+            0.8440213095023968,
+            0.9310505161225807,
+            0.07288017429690385,
+            0.7530142035885653,
+            0.6178568916709967,
+            0.45811406574716984,
+            0.05249961568661554,
+            0.24804817355235764,
+            0.5975436521411956,
+            0.6139535061525163,
+            0.9957962788595421,
+            0.3787692177827243,
+            0.24418149158032443,
+            0.16503311879604032,
+            0.9492606405568794,
+            0.019448516041425834,
+            0.8188862550529377,
+            0.9262022585930891,
+            0.5207289889773437,
+            0.6306870214614331,
+            0.11046690548707772,
+            0.7077644717290339,
+            0.0062958735711297065,
+            0.16842205210186756,
+            0.1255822059371008,
+            0.2706577507688578,
+            0.13304162913806317,
+            0.1403423266265975,
+            0.622511096068774,
+            0.5119441938462492,
+            0.5765412063088574,
+            0.4542734360082994,
+            0.2456472571961228,
+            0.5803467630639177,
+            0.05372169223147405,
+            0.571259226449913,
+            0.675055073762944,
+            0.13035957128557074,
+            0.714488094986685,
+            0.8754791979979648,
+            0.6439007213385407,
+            0.46349764146268724,
+            0.7596377193252819,
+            0.1038059508532202,
+            0.8962984866905694,
+            0.8765406201788875,
+            0.6979358493931872,
+            0.13972039909954737,
+            0.1590895483776018,
+            0.13916439455994145,
+            0.4218261532310379,
+            0.46946715626811863,
+            0.9832961857040121,
+            0.6571433795652146,
+            0.32910185498381084,
+            0.12274598836042927,
+            0.8744717796370273,
+            0.5423454689290529,
+            0.04696403710280039,
+            0.9758997181407965,
+            0.4758927282435661,
+            0.5070306816118075,
+            0.9252461302325117,
+            0.8824727509446126,
+            0.6945158890252906,
+            0.22750337164874945,
+            0.35718432710625814,
+            0.2141785498162907,
+            0.5668505814179957,
+            0.5809572329079,
+            0.1589660439167313,
+            0.04472855886267979,
+            0.3503719752220934,
+            0.9493913721186392,
+            0.6933892806191329,
+            0.38963875164426454,
+            0.7958283248915168,
+            0.6057645479199647,
+            0.15831787010381215,
+            0.6270447606519425,
+            0.806771233882014,
+            0.05009375743761946,
+            0.47721906898018296,
+            0.4677198465307132,
+            0.7248654410070317,
+            0.04699287384693085,
+            0.5269211917799896,
+            0.616904265305966,
+            0.29300984466236524,
+            0.031185493495807348,
+            0.016831143302852736,
+            0.5762191582863274,
+            0.9430294786380148,
+            0.49381547660090364,
+            0.19420245091044852
+         ],
+         "book_id":3
+      },
+      {
+         "word_count":4,
+         "book_intro":
+         [
+            0.8708513132338109,
+            0.4306736202238495,
+            0.9399179225163022,
+            0.6916469882808278,
+            0.3553597984232798,
+            0.9978822303529225,
+            0.016202062073371937,
+            0.2559339464442255,
+            0.15086943739411252,
+            0.18075969357207977,
+            0.4483365503630933,
+            0.801222440702052,
+            0.19707992287039333,
+            0.10142082114323181,
+            0.49821748472341043,
+            0.21522448119489856,
+            0.36443365953840645,
+            0.5828512705135891,
+            0.7542371445694903,
+            0.6133976935084049,
+            0.5649494767670981,
+            0.7081504004530486,
+            0.20136198865664168,
+            0.28411786225329594,
+            0.32464326824662637,
+            0.5090020290682014,
+            0.682866531679518,
+            0.39688342288791956,
+            0.8361206939253618,
+            0.3129441494968729,
+            0.06185906617623682,
+            0.6559556421276811,
+            0.5968414695583446,
+            0.9049860957538365,
+            0.6182743521095526,
+            0.47343919648963817,
+            0.35671830834968143,
+            0.0663473775598491,
+            0.4757974546462047,
+            0.9086602829159042,
+            0.24812804081584106,
+            0.24157006882691767,
+            0.14322170663722766,
+            0.5748003245765044,
+            0.6520762584943814,
+            0.05498157572928175,
+            0.5760332895930222,
+            0.9490948699346556,
+            0.5661712710719925,
+            0.14846326426361,
+            0.5165534221114648,
+            0.03950961768019812,
+            0.9832265510756626,
+            0.34470480687097127,
+            0.2547588529294671,
+            0.15865581788063432,
+            0.06372559435055081,
+            0.4536024683005443,
+            0.36693981833658995,
+            0.6348101306169187,
+            0.6910469682600998,
+            0.13418485909269784,
+            0.43564401618309534,
+            0.6502546884981834,
+            0.33526092344031644,
+            0.10042723075922544,
+            0.23189438334942747,
+            0.03875512546002924,
+            0.019473814038255544,
+            0.6165409976160221,
+            0.34945672075567524,
+            0.7968455702787872,
+            0.5821100532578771,
+            0.6658024225570318,
+            0.8209736041207811,
+            0.2676917133081762,
+            0.35918554168949823,
+            0.3967110030690516,
+            0.8170686025466009,
+            0.4416538336931811,
+            0.8725404916377029,
+            0.4512437563528803,
+            0.13206511403103505,
+            0.584274116872152,
+            0.10316413614952857,
+            0.5621995620893426,
+            0.793752319033435,
+            0.45026312226339493,
+            0.4531567364069802,
+            0.37010292667523714,
+            0.799670530811153,
+            0.671163125477828,
+            0.5555399963291539,
+            0.7548640947525554,
+            0.678676499878088,
+            0.5147161918098102,
+            0.678039364054559,
+            0.10336838885551569,
+            0.3040891537493894,
+            0.10556767705784076,
+            0.5851269304254926,
+            0.8413945690037714,
+            0.14350464818378517,
+            0.3697864060264865,
+            0.37202734373216295,
+            0.24673823194886335,
+            0.9204087820962835,
+            0.4197851163776197,
+            0.965053061428215,
+            0.03014339405767308,
+            0.4840044424625527,
+            0.8315757912924788,
+            0.6945494725106631,
+            0.42162112771247695,
+            0.5362098905234742,
+            0.2828962205306311,
+            0.5898945315334824,
+            0.5319616076683664,
+            0.7485735056680508,
+            0.31859597458466493,
+            0.8204115169929166,
+            0.5727217884717092,
+            0.7168894757229693,
+            0.5887710566606865,
+            0.011717586601353025,
+            0.11269772490652896,
+            0.14758775607735963,
+            0.7654883320828968
+         ],
+         "book_id":4
+      },
+      {
+         "word_count":5,
+         "book_intro":
+         [
+            0.003945009360035168,
+            0.9248672959237109,
+            0.6475108025518296,
+            0.48554248565251046,
+            0.9864357580059662,
+            0.1350153664871161,
+            0.49747902477473516,
+            0.08953954567312572,
+            0.8429243947112954,
+            0.3217301451130087,
+            0.8300851775443844,
+            0.6317028626583525,
+            0.9718882967089764,
+            0.9371860268347277,
+            0.7034477937506207,
+            0.6201487533782837,
+            0.8086581424984272,
+            0.9191047307072117,
+            0.6651922091649382,
+            0.2139807258500982,
+            0.769045824396908,
+            0.6465132116885771,
+            0.5347173295869975,
+            0.15140273679173022,
+            0.3586607200801679,
+            0.45539324646711365,
+            0.2968446304690202,
+            0.5121534191454344,
+            0.7477499153064506,
+            0.7750441787742932,
+            0.1962358341521605,
+            0.527915085673888,
+            0.1983111827588523,
+            0.5719571960481664,
+            0.34950400198510545,
+            0.04595210502139735,
+            0.3483924618196528,
+            0.19522536978346772,
+            0.45073234338362267,
+            0.9240860137548749,
+            0.507904943048797,
+            0.905991044821133,
+            0.4361536759586643,
+            0.5892151206144395,
+            0.800941336287359,
+            0.3431581620689502,
+            0.29503307753861663,
+            0.22693857963923925,
+            0.20150483861669966,
+            0.9285739798808974,
+            0.5663348554827293,
+            0.586446379089503,
+            0.2527183735262043,
+            0.747110901636931,
+            0.4445441155519302,
+            0.18268803900967334,
+            0.5339977114665229,
+            0.7505562110736934,
+            0.8330525990434152,
+            0.7569345981138825,
+            0.7463361789969272,
+            0.22894339135839858,
+            0.12980698512183653,
+            0.21720013417987294,
+            0.622762848777082,
+            0.3689358919704381,
+            0.007457507147030529,
+            0.9215899158573329,
+            0.7391997945598969,
+            0.3761003845768819,
+            0.9590331529225617,
+            0.09049506954516107,
+            0.7003585352177102,
+            0.07638317557281715,
+            0.9202095615776092,
+            0.33765395202568804,
+            0.10597955545226312,
+            0.13183019097983417,
+            0.8505238053983774,
+            0.795452867222336,
+            0.1646328063798982,
+            0.0065673421187782965,
+            0.758430442547367,
+            0.07643980729421973,
+            0.8154614311529436,
+            0.6012845053263152,
+            0.28888115040691864,
+            0.36087681417445616,
+            0.7426648394147974,
+            0.03794346162001572,
+            0.6571503398034932,
+            0.22925791708697185,
+            0.7231810720211498,
+            0.42115587137213584,
+            0.40891736939649537,
+            0.46907104528931176,
+            0.3349431971743543,
+            0.5286548041695818,
+            0.21415570961365382,
+            0.976684335024686,
+            0.17124765320898971,
+            0.29050909275079373,
+            0.6611678154634458,
+            0.04808837021026702,
+            0.35618707137332095,
+            0.6052071551784068,
+            0.8071442544639376,
+            0.8063274737462619,
+            0.3367641177134577,
+            0.5104626082705939,
+            0.06291414739004486,
+            0.24880511109454084,
+            0.6392168081251349,
+            0.9775714348433779,
+            0.8420930782027216,
+            0.4142496474583708,
+            0.5202497387049976,
+            0.6303763147496384,
+            0.2886241961746937,
+            0.4669784406994205,
+            0.2182801668427189,
+            0.503370726851691,
+            0.31174656913566845,
+            0.07519968978732372,
+            0.8154713720299501,
+            0.54820189210198,
+            0.10371451492522199,
+            0.3204432040383123
+         ],
+         "book_id":5
+      },
+      {
+         "word_count":6,
+         "book_intro":
+         [
+            0.5582402158775812,
+            0.9738080336677437,
+            0.2931302841802975,
+            0.5168127454186554,
+            0.8520896841025207,
+            0.6626521212472044,
+            0.8955419392404533,
+            0.741603943975123,
+            0.046031338240011266,
+            0.8439910496717964,
+            0.2629967681871548,
+            0.5829337549676837,
+            0.5525265547202237,
+            0.9248451228968674,
+            0.3055303697211851,
+            0.5953786893157835,
+            0.8107896605556816,
+            0.8803101130344758,
+            0.3601098274051817,
+            0.22122060490663464,
+            0.09445997727134248,
+            0.887080045042953,
+            0.21633911118631433,
+            0.4827506653496617,
+            0.18906392411603634,
+            0.947525694651577,
+            0.973273466869789,
+            0.5801833353317247,
+            0.5203524994061706,
+            0.09640040287326235,
+            0.5979788982788747,
+            0.6400840458154203,
+            0.4015131782330026,
+            0.4082214136598802,
+            0.28401166051394977,
+            0.25081566796843213,
+            0.6854198023120532,
+            0.43060109974999794,
+            0.9667820090929407,
+            0.09436031602600137,
+            0.2574976649326912,
+            0.8572794072450187,
+            0.6428052755395264,
+            0.9379750609338351,
+            0.4854453499052864,
+            0.2243356980549034,
+            0.46113257415442166,
+            0.4844910308511666,
+            0.9539688505155312,
+            0.16403350036973086,
+            0.9077923869043687,
+            0.09666748559902205,
+            0.5558474453095715,
+            0.2829799908889645,
+            0.7878634004303186,
+            0.20886375335911012,
+            0.28506511457853445,
+            0.044757055287593994,
+            0.12483811719788562,
+            0.3183934077419349,
+            0.8834051102218223,
+            0.13190813795622802,
+            0.5432255294581714,
+            0.8092769950684773,
+            0.8288193575009408,
+            0.6381416393745725,
+            0.17788058793791584,
+            0.5027107585517175,
+            0.02204881906121814,
+            0.09883767739006333,
+            0.6623369014243347,
+            0.7514205338303739,
+            0.9273844036895876,
+            0.8064224151174161,
+            0.2884586779773417,
+            0.09917175765454034,
+            0.8541224364470719,
+            0.0768996544996835,
+            0.0010160984136521334,
+            0.012057563591048814,
+            0.5271829607741543,
+            0.13480702409059353,
+            0.4933284954282402,
+            0.9547893364690703,
+            0.0885225463636028,
+            0.06609002273305775,
+            0.30390773982484187,
+            0.13306459756941946,
+            0.19538807910385347,
+            0.8518636675951218,
+            0.4790741619344673,
+            0.5521896589831087,
+            0.9371216035135678,
+            0.8407587440985451,
+            0.06280557022938749,
+            0.652485526946057,
+            0.8791404172502999,
+            0.14352519304387645,
+            0.4026197784475647,
+            0.6736068831403375,
+            0.6608809089543246,
+            0.34079272198964194,
+            0.019079536996766677,
+            0.0727562706878635,
+            0.22390848883612868,
+            0.5833648366126822,
+            0.5765482234909514,
+            0.7758764736641796,
+            0.9270598330677035,
+            0.6341486881813675,
+            0.3141132183387785,
+            0.7762558747126748,
+            0.5173984124609314,
+            0.6518005728027995,
+            0.1481336605178688,
+            0.6115833808710712,
+            0.1689274146171279,
+            0.5483926463292577,
+            0.5416576085231547,
+            0.5483406226778887,
+            0.5754190494714381,
+            0.5668835500707509,
+            0.1509932935893329,
+            0.8815211206286672,
+            0.3893827365916199,
+            0.3189017627714925,
+            0.20600774756908913,
+            0.6180172922688376
+         ],
+         "book_id":6
+      },
+      {
+         "word_count":7,
+         "book_intro":
+         [
+            0.13610907369925496,
+            0.8993275259182022,
+            0.5582653597362708,
+            0.9536181966711468,
+            0.09989027464535716,
+            0.8513852101075808,
+            0.33990831393357923,
+            0.3764118286983601,
+            0.5789320739799244,
+            0.6944351456762914,
+            0.21621897918848298,
+            0.9334881313951428,
+            0.3361361643469998,
+            0.44637996611283526,
+            0.2860946004459872,
+            0.1831896959531607,
+            0.03484588339932815,
+            0.0735774344847343,
+            0.7872026059654481,
+            0.6217591961711694,
+            0.9418124100618999,
+            0.08337812561612601,
+            0.896374775932878,
+            0.9210840359373818,
+            0.20405267566545482,
+            0.5378828905924865,
+            0.08083688627612529,
+            0.1433400998434935,
+            0.5619341695681279,
+            0.6122417353507268,
+            0.6521600241538957,
+            0.2086881568192971,
+            0.4477356723742667,
+            0.4467921247971949,
+            0.4023585554640643,
+            0.2837782107410636,
+            0.03709756191252278,
+            0.44956138903077625,
+            0.4603487679645404,
+            0.43166829446703703,
+            0.9701890090182652,
+            0.3941345757112493,
+            0.7970214715176205,
+            0.8178660567823787,
+            0.14008327416873023,
+            0.6276151514567124,
+            0.1284709221260938,
+            0.0025530267182216626,
+            0.15774698348610172,
+            0.45438349154082924,
+            0.31946088689036245,
+            0.36565273115097596,
+            0.8462127216994407,
+            0.29358350500981945,
+            0.7729988967686179,
+            0.5092557686571523,
+            0.3909186761082887,
+            0.5217452237780151,
+            0.7069274664334017,
+            0.5610163728075143,
+            0.5788629987096906,
+            0.0066772226153732905,
+            0.6647311980697269,
+            0.6624862592578599,
+            0.8961346492850948,
+            0.2147394481754541,
+            0.08529716063531423,
+            0.5679538203239092,
+            0.12154665098711737,
+            0.43083386798510337,
+            0.26515507248357506,
+            0.2022074452149183,
+            0.45351146988252167,
+            0.06892618704029696,
+            0.5867631812010616,
+            0.22974386907581723,
+            0.13796266407822533,
+            0.2706394919423314,
+            0.45769439126004774,
+            0.17329414170689916,
+            0.02704068047605801,
+            0.9904361364581852,
+            0.008116419133580077,
+            0.386140356938797,
+            0.49142492976455443,
+            0.5481316205212768,
+            0.22774909492872875,
+            0.2305495853417321,
+            0.6336083128053962,
+            0.19296041835316646,
+            0.8885203809860904,
+            0.1437510987425088,
+            0.8050743531198052,
+            0.5681399173793733,
+            0.2954323572347288,
+            0.8832360429620112,
+            0.017251234243682245,
+            0.0908561790379302,
+            0.6356871101086697,
+            0.1347594087183449,
+            0.9542809747705248,
+            0.16982054915886102,
+            0.45491167644223895,
+            0.8392759715391209,
+            0.9450564727985459,
+            0.8710239380934033,
+            0.5793601611065555,
+            0.04914382141291751,
+            0.4326422184873421,
+            0.11204089710682175,
+            0.624260373867858,
+            0.859279691668546,
+            0.19111001261416005,
+            0.7162134743105483,
+            0.08101107198198065,
+            0.9755529514684724,
+            0.7829835418718087,
+            0.6902703083137925,
+            0.8597255063938837,
+            0.7805560773458201,
+            0.5249009894247383,
+            0.902413742751471,
+            0.0786552904183031,
+            0.335990990983948,
+            0.5347679653442844,
+            0.932633686342317,
+            0.8383184716579402,
+            0.6212623958988308
+         ],
+         "book_id":7
+      },
+      {
+         "word_count":8,
+         "book_intro":
+         [
+            0.27058785988510514,
+            0.2429840641480958,
+            0.6956940806346139,
+            0.4494708370118099,
+            0.3393202729101813,
+            0.9727838753758941,
+            0.5626347820557074,
+            0.9248495101832922,
+            0.25353246677816876,
+            0.6021817305182271,
+            0.7926885833364244,
+            0.009790623575864354,
+            0.24427265048265456,
+            0.44724897455800683,
+            0.2918089211746788,
+            0.7549587780827797,
+            0.20050853677202707,
+            0.4507432756678371,
+            0.5909722348156515,
+            0.01258995786118533,
+            0.29863762229427426,
+            0.014911304061494435,
+            0.9525108258509352,
+            9.268390683960792E-4,
+            0.909990853101503,
+            0.6861749940436536,
+            0.7470077549784045,
+            0.916842283161868,
+            0.9299147009984793,
+            0.3462736752702109,
+            0.5338900490278938,
+            0.9040546005077205,
+            0.7589308724370369,
+            0.19040918919508343,
+            0.5063950370136622,
+            0.07593963098484391,
+            0.7846370217752835,
+            0.18016967916265225,
+            0.22037397524566793,
+            0.9647965762252086,
+            0.36242585533018135,
+            0.847482443114707,
+            0.8164362900423755,
+            0.7235255962996017,
+            0.9737641301728712,
+            0.29557406996259095,
+            0.2662263004021861,
+            0.6410269570589197,
+            0.45268698892597925,
+            0.9938921716495382,
+            0.5261643427769899,
+            0.04923341673023651,
+            0.9143272461536189,
+            0.496169384451692,
+            0.8657718868443876,
+            0.497538454157029,
+            0.2937132509565067,
+            0.5242874666796429,
+            0.052740779905889545,
+            0.1494849524267735,
+            0.20873313682327754,
+            0.9553252241864392,
+            0.5231945556079306,
+            0.7169305257270022,
+            0.19807699289476277,
+            0.12515090003824458,
+            0.14312978197985304,
+            0.8885069333221223,
+            0.25313306187288165,
+            0.5191464527730532,
+            0.675813770401536,
+            0.13204282681521218,
+            0.9622276560070578,
+            0.35912707380307074,
+            0.6099543330644425,
+            0.9547207398981883,
+            0.5162627975522515,
+            0.8152464150677651,
+            0.5747466186922126,
+            0.19009035126884322,
+            0.2867197248429555,
+            0.5726545099766844,
+            0.1704404359674183,
+            0.6476620916180792,
+            0.6801601361494284,
+            0.2649014379067084,
+            0.6768612307520002,
+            0.5086565599432818,
+            0.4977714138573046,
+            0.8495570590663233,
+            0.7673563941858721,
+            0.18058657387180221,
+            0.08416612756522923,
+            0.34624311411356323,
+            0.05192807927538068,
+            0.9337005843272259,
+            0.13655991603193474,
+            0.483250936293255,
+            8.525694141713336E-4,
+            0.5339175787580698,
+            0.16361615448345834,
+            0.7061442792119283,
+            0.5588750992623154,
+            0.2597349412097443,
+            0.23265991035722788,
+            0.6902237065032003,
+            0.5501086216033452,
+            0.14469282151760654,
+            0.8246273386939583,
+            0.9684550708318466,
+            0.7950533315463818,
+            0.022329706000487337,
+            0.3280314029103004,
+            0.5374416319816377,
+            0.7136938266775185,
+            0.9671654789493519,
+            0.9463882434091703,
+            0.33624552412984166,
+            0.07241866458451807,
+            0.023099930504568045,
+            0.5679629352883331,
+            0.3063413689694151,
+            0.4475472181277038,
+            0.6897165214068866,
+            0.45235736168080287,
+            0.3357105791218312,
+            0.9245368472744244,
+            0.4973318578825424
+         ],
+         "book_id":8
+      },
+      {
+         "word_count":9,
+         "book_intro":
+         [
+            0.42537683863081144,
+            0.7660624494342221,
+            0.52948354246933,
+            0.14323424745357183,
+            0.641776556922958,
+            0.2993939159953716,
+            0.8983170270411672,
+            0.0844047727510735,
+            0.8749024254281861,
+            0.07857667545438252,
+            0.7291313799030443,
+            0.18611736180573113,
+            0.7229055805698619,
+            0.4363871126987876,
+            0.63438082949684,
+            0.01116446383780123,
+            0.08312344717342379,
+            0.3083708106164543,
+            0.11220947231923162,
+            0.6010578813138485,
+            0.7393842277553218,
+            0.5871599224754548,
+            0.48997282251069385,
+            0.14840457835245857,
+            0.9314063731556328,
+            0.7593386883325162,
+            0.8580480197677215,
+            0.7887600084454329,
+            0.331127920765931,
+            0.01067823269601098,
+            0.20831883710121113,
+            0.8506121211592368,
+            0.9377151255482391,
+            0.6115390842257258,
+            0.21926047344306387,
+            0.29375138367939535,
+            0.021163512123139605,
+            0.8014658975375379,
+            0.3883381444497237,
+            0.7391334449676673,
+            0.3938191464658617,
+            0.5804755246440935,
+            0.5024727725713591,
+            0.4474427296157184,
+            0.9698110448921496,
+            0.7842665960805565,
+            0.7586160136011159,
+            0.8389167536590234,
+            0.7843007078138458,
+            0.5715543262969909,
+            0.19901573951354,
+            0.6635924695736161,
+            0.38761812051172106,
+            0.9839621542420343,
+            0.5095427013052778,
+            0.7289876810323463,
+            0.8037677957122176,
+            0.5523771061295638,
+            0.6444872451949625,
+            0.17133214721745182,
+            0.048452872513168876,
+            0.01840332565306002,
+            0.18752525700381595,
+            0.6168139298341979,
+            0.5386786963848591,
+            0.11552407878131266,
+            0.8360901497488463,
+            0.220909416248126,
+            0.5941619207511544,
+            0.011809551855767486,
+            0.9051782465697532,
+            0.4967153321905651,
+            0.6301848760659858,
+            0.4544841944794915,
+            0.2866524740212315,
+            0.04730428513816787,
+            0.5721994460755829,
+            0.8763936745764209,
+            0.871399829958788,
+            0.8024755472730201,
+            0.4843979614397592,
+            0.7253885911757844,
+            0.044235829176731745,
+            0.12687534869534367,
+            0.39763379732011395,
+            0.05986811299866679,
+            0.49523924422578036,
+            0.21431182437278484,
+            0.8464873461098944,
+            0.017203600041424183,
+            0.2562386420091376,
+            0.5121919373021735,
+            0.6809377928883372,
+            0.1064887097618612,
+            0.5674621494167779,
+            0.5303586821363551,
+            0.30501480330979847,
+            0.40303923423682775,
+            0.9069000914374425,
+            0.2802086548458469,
+            0.6129688084381562,
+            0.6292921104079646,
+            0.27371985153734446,
+            0.7628221482031702,
+            0.5429117884344924,
+            0.7952298843586534,
+            0.6071111820326348,
+            0.3789382734388348,
+            0.34854532703549346,
+            0.5411836176093937,
+            0.04322885265692533,
+            0.8689606707693043,
+            0.40150643000304376,
+            0.5768431281286112,
+            0.565439413948212,
+            0.40777965711036346,
+            0.5800255887924411,
+            0.6425311390321619,
+            0.48686697331801054,
+            0.7770489216345713,
+            0.07400584047869585,
+            0.2322730126484831,
+            0.11927281199808848,
+            0.11665651120569265,
+            0.742295306933617,
+            0.9129218646928939,
+            0.9285920279232499,
+            0.6174806246087607
+         ],
+         "book_id":9
+      }
+
+   ]
+
+}