Report 1908.2: Improve headers and legend in comparison tables. 32/27132/1
authorTibor Frank <tifrank@cisco.com>
Tue, 19 May 2020 06:22:41 +0000 (08:22 +0200)
committerTibor Frank <tifrank@cisco.com>
Tue, 19 May 2020 06:22:41 +0000 (08:22 +0200)
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: I66e26be633bb21fb89fc13e4b8a64ff2da1bd296

docs/report/introduction/report_history.rst
resources/tools/presentation/conf.py
resources/tools/presentation/generator_tables.py
resources/tools/presentation/run_report.sh
resources/tools/presentation/specification.yaml

index 3029094..c9ae66a 100644 (file)
@@ -6,6 +6,9 @@ FD.io CSIT-1908.2 Report history and per .[ww] revision changes are listed below
 +----------------+------------------------------------------------------------+
 | .[ww] Revision | Changes                                                    |
 +================+============================================================+
+| .21            | Improved headers and legend in comparison tables.          |
+|                |                                                            |
++----------------+------------------------------------------------------------+
 | .20            | Initial version                                            |
 |                |                                                            |
 +----------------+------------------------------------------------------------+
index ec8f54d..b9833b9 100644 (file)
@@ -46,7 +46,7 @@ source_suffix = [u'.rst', u'.md']
 master_doc = u'index'
 
 # General information about the project.
-report_week = u'20'
+report_week = u'21'
 project = u'FD.io CSIT-1908.2.{week}'.format(week=report_week)
 copyright = u'2020, FD.io'
 author = u'FD.io CSIT'
index 08c9d55..a9d13df 100644 (file)
@@ -667,8 +667,7 @@ def table_soak_vs_ndr(table, input_data):
             f"Percentage change calculated for mean values.\n"
             u"Stdev(Diff): "
             u"Standard deviation of percentage change calculated for mean "
-            u"values.\n"
-            u":END"
+            u"values."
         )
     except (AttributeError, KeyError) as err:
         logging.error(f"The model is invalid, missing parameter: {repr(err)}")
@@ -1756,8 +1755,6 @@ def table_comparison(table, input_data):
     with open(txt_file_name, u'a', encoding='utf-8') as txt_file:
         txt_file.write(legend)
         txt_file.write(footnote)
-        if legend or footnote:
-            txt_file.write(u"\n:END")
 
     # Generate html table:
     _tpc_generate_html_table(
index 219e860..22f521a 100755 (executable)
@@ -38,7 +38,7 @@ export PYTHONPATH=`pwd`:`pwd`/../../../:`pwd`/../../libraries/python
 python pal.py \
     --specification specification.yaml \
     --release ${RELEASE} \
-    --week "20" \
+    --week "21" \
     --logging INFO \
     --force
 
index 416fd8e..cfb599d 100644 (file)
     - title: "1904"
       data-set: "vpp-performance-changes-3n-skx-h1"
       tag: "NIC_Intel-X710"
-    - title: "1908.1"
+    - title: "1908.1-2"
       data-set: "vpp-performance-changes-3n-skx-ref"
       tag: "NIC_Intel-XXV710"
-    - title: "1908.2"
+    - title: "1908.2-2"
       data-set: "vpp-performance-changes-3n-skx-cmp"
       tag: "NIC_Intel-XXV710"
   comparisons:
       reference: 2
       compare: 3
   legend:
-    - "Legend to Table"
-    - "1904, 1908.1, 1908.2 - VPP versions tested."
-    - "Diff - difference between 1908.1 and 1908.2 VPP version."
+    - "Legend to Table:"
+    - 'YYMM.V-E - tested VPP version (YY year, MM month, V minor version) and CSIT test environment version (E environment version, "2" for 2020-03-27).'
+    - "Diff - difference between 1908.1-2 and 1908.2-2 VPP version."
 
 # VPP Performance Changes 3n-skx 2t1c ndr
 - type: "table"
     - title: "1904"
       data-set: "vpp-performance-changes-3n-skx-h1"
       tag: "NIC_Intel-X710"
-    - title: "1908.1"
+    - title: "1908.1-2"
       data-set: "vpp-performance-changes-3n-skx-ref"
       tag: "NIC_Intel-XXV710"
-    - title: "1908.2"
+    - title: "1908.2-2"
       data-set: "vpp-performance-changes-3n-skx-cmp"
       tag: "NIC_Intel-XXV710"
   comparisons:
       reference: 2
       compare: 3
   legend:
-    - "Legend to Table"
-    - "1904, 1908.1, 1908.2 - VPP versions tested."
-    - "Diff - difference between 1908.1 and 1908.2 VPP version."
+    - "Legend to Table:"
+    - 'YYMM.V-E - tested VPP version (YY year, MM month, V minor version) and CSIT test environment version (E environment version, "2" for 2020-03-27).'
+    - "Diff - difference between 1908.1-2 and 1908.2-2 VPP version."
 
 # VPP Performance Changes 2n-skx 2t1c pdr
 - type: "table"
     - title: "1904"
       data-set: "vpp-performance-changes-2n-skx-h1"
       tag: "NIC_Intel-X710"
-    - title: "1908.1"
+    - title: "1908.1-2"
       data-set: "vpp-performance-changes-2n-skx-ref"
       tag: "NIC_Intel-XXV710"
-    - title: "1908.2"
+    - title: "1908.2-2"
       data-set: "vpp-performance-changes-2n-skx-cmp"
       tag: "NIC_Intel-XXV710"
   comparisons:
       reference: 2
       compare: 3
   legend:
-    - "Legend to Table"
-    - "1904, 1908.1, 1908.2 - VPP versions tested."
-    - "Diff - difference between 1908.1 and 1908.2 VPP version."
+    - "Legend to Table:"
+    - 'YYMM.V-E - tested VPP version (YY year, MM month, V minor version) and CSIT test environment version (E environment version, "2" for 2020-03-27).'
+    - "Diff - difference between 1908.1-2 and 1908.2-2 VPP version."
 
 # VPP Performance Changes 2n-skx 2t1c ndr
 - type: "table"
     - title: "1904"
       data-set: "vpp-performance-changes-2n-skx-h1"
       tag: "NIC_Intel-X710"
-    - title: "1908.1"
+    - title: "1908.1-2"
       data-set: "vpp-performance-changes-2n-skx-ref"
       tag: "NIC_Intel-XXV710"
-    - title: "1908.2"
+    - title: "1908.2-2"
       data-set: "vpp-performance-changes-2n-skx-cmp"
       tag: "NIC_Intel-XXV710"
   comparisons:
       reference: 2
       compare: 3
   legend:
-    - "Legend to Table"
-    - "1904, 1908.1, 1908.2 - VPP versions tested."
-    - "Diff - difference between 1908.1 and 1908.2 VPP version."
+    - "Legend to Table:"
+    - 'YYMM.V-E - tested VPP version (YY year, MM month, V minor version) and CSIT test environment version (E environment version, "2" for 2020-03-27).'
+    - "Diff - difference between 1908.1-2 and 1908.2-2 VPP version."
 
 # VPP Performance Changes 2n-clx 2t1c pdr
 - type: "table"