From ad2883808aa8e0cdc8314bf06df1463ab31a6a60 Mon Sep 17 00:00:00 2001 From: Ghislain Piot Date: Wed, 27 Nov 2024 16:13:59 +0100 Subject: [PATCH] Ruling expectations --- .../expected/ipython-LineLength.json | 243 +----------------- .../test/resources/expected/ipython-S113.json | 30 +++ .../resources/expected/ipython-S1131.json | 48 ++++ .../test/resources/expected/ipython-S139.json | 46 ---- 4 files changed, 87 insertions(+), 280 deletions(-) create mode 100644 its/ruling/src/test/resources/expected/ipython-S1131.json delete mode 100644 its/ruling/src/test/resources/expected/ipython-S139.json diff --git a/its/ruling/src/test/resources/expected/ipython-LineLength.json b/its/ruling/src/test/resources/expected/ipython-LineLength.json index 5b88716fae..5c14d96c28 100644 --- a/its/ruling/src/test/resources/expected/ipython-LineLength.json +++ b/its/ruling/src/test/resources/expected/ipython-LineLength.json @@ -1,247 +1,22 @@ { "project:Keras-Tutorials-master/01_linear_regression.ipynb": [ -36, -337 -], -"project:Keras-Tutorials-master/03_net.ipynb": [ -324 -], -"project:Keras-Tutorials-master/04_modern_net.ipynb": [ -340 -], -"project:Keras-Tutorials-master/05_convolutional_net.ipynb": [ -168, -425 -], -"project:Keras-Tutorials-master/06_autoencoder.ipynb": [ -390 -], -"project:Keras-Tutorials-master/10_save_restore_net.ipynb": [ -121, -123, -125, -127, -129, -131, -133, -135, -137, -139, -146 +9 ], "project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [ -10, -16, -23, -86, -88, -102, -105, -107, -112, -157, -231, -234, -235, -280, -286, -288, -309, -323, -325, -358, -379, -411, -444, -466, -470, -474, -475, -476, -477, -478, -479, -486, -496, -498, -531, -533, -537, -570, -583, -584, -585, -586, -599, -602, -612, -614, -617, -620, -675, -690, -691, -692, -693, -732, -799, -810, -824, -855, -961, -991, -1025, -1057, -1061, -1067, -1069, -1163, -1213, -1300, -1302 +197 ], "project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [ -21, -23, -28, -29, -40, -58, -59, -72, -77, -145, -147, -148, -149, -150, -153, -155, -216, -219, -228, -257, -258, -348, -443, -474, -481, -495, -701, -751, -755, -766 +132 ], "project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [ -10, -25, -35, -183, -261, -263, -273, -274, -409, -437, -462, -531, -581, -582, -592, -724, -791, -798, -801, -803, -808, -818, -895, -1003, -1014 +162, +163, +286 ], "project:pecos/tutorials/kdd22/Session 5 eXtreme Multi-label Classification with XR-Transformer.ipynb": [ -12, -31, -103, -113, -117, -178, -195, -276, -277, -278, -320, -322, -323, -352, -428, -450, -472, -482, -483, -484, -485, -486, -576, -577, -579, -594, -595, -596, -597, -598, -599, -600, -601, -602, -647, -650, -671, -672, -673, -674, -675, -676, -706, -719, -770, -786, -787, -788, -789, -829, -892, -893, -894, -895, -967, -974 -], -"project:tensorflow/python/autograph/g3doc/pyct_tutorial.ipynb": [ -16, -18, -45, -55, -131, -158, -221, -290, -325, -370, -372, -413, -444 -], -"project:tensorflow/python/autograph/g3doc/reference/_control_flow_tutorial.ipynb": [ -10, -73, -75, +39, +102, 131, -198, -268, -299, -377, -524, -704 +225 ] } diff --git a/its/ruling/src/test/resources/expected/ipython-S113.json b/its/ruling/src/test/resources/expected/ipython-S113.json index 9b0c01b144..ccf7a3bd7f 100644 --- a/its/ruling/src/test/resources/expected/ipython-S113.json +++ b/its/ruling/src/test/resources/expected/ipython-S113.json @@ -13,5 +13,35 @@ ], "project:Keras-Tutorials-master/05_convolutional_net.ipynb": [ 0 +], +"project:Keras-Tutorials-master/06_autoencoder.ipynb": [ +0 +], +"project:Keras-Tutorials-master/07_lstm.ipynb": [ +0 +], +"project:Keras-Tutorials-master/09_tensorboard.ipynb": [ +0 +], +"project:Keras-Tutorials-master/10_save_restore_net.ipynb": [ +0 +], +"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [ +0 +], +"project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [ +0 +], +"project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [ +0 +], +"project:pecos/tutorials/kdd22/Session 5 eXtreme Multi-label Classification with XR-Transformer.ipynb": [ +0 +], +"project:tensorflow/python/autograph/g3doc/pyct_tutorial.ipynb": [ +0 +], +"project:tensorflow/python/autograph/g3doc/reference/_control_flow_tutorial.ipynb": [ +0 ] } diff --git a/its/ruling/src/test/resources/expected/ipython-S1131.json b/its/ruling/src/test/resources/expected/ipython-S1131.json new file mode 100644 index 0000000000..357da14d34 --- /dev/null +++ b/its/ruling/src/test/resources/expected/ipython-S1131.json @@ -0,0 +1,48 @@ +{ +"project:Keras-Tutorials-master/06_autoencoder.ipynb": [ +56 +], +"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [ +3, +112, +133, +157, +189, +193, +194, +195, +198, +208, +209, +210, +215, +219, +221, +224, +327, +365 +], +"project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [ +74, +78, +82 +], +"project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [ +13, +21, +27, +102, +180, +187, +198, +212, +315 +], +"project:pecos/tutorials/kdd22/Session 5 eXtreme Multi-label Classification with XR-Transformer.ipynb": [ +4, +41 +], +"project:tensorflow/python/autograph/g3doc/reference/_control_flow_tutorial.ipynb": [ +214 +] +} diff --git a/its/ruling/src/test/resources/expected/ipython-S139.json b/its/ruling/src/test/resources/expected/ipython-S139.json deleted file mode 100644 index 42a50f416a..0000000000 --- a/its/ruling/src/test/resources/expected/ipython-S139.json +++ /dev/null @@ -1,46 +0,0 @@ -{ -"project:Keras-Tutorials-master/01_linear_regression.ipynb": [ -36 -], -"project:Keras-Tutorials-master/05_convolutional_net.ipynb": [ -40, -41, -42, -43 -], -"project:Keras-Tutorials-master/06_autoencoder.ipynb": [ -406 -], -"project:Keras-Tutorials-master/09_tensorboard.ipynb": [ -56, -57 -], -"project:Keras-Tutorials-master/10_save_restore_net.ipynb": [ -43, -44 -], -"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [ -636, -637, -638 -], -"project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [ -239 -], -"project:tensorflow/python/autograph/g3doc/pyct_tutorial.ipynb": [ -274 -], -"project:tensorflow/python/autograph/g3doc/reference/_control_flow_tutorial.ipynb": [ -541, -542, -562, -563, -584, -585, -606, -607, -629, -630, -786 -] -}