@explorable-viz/fluid 0.10.2 → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "description": "A functional programming language which integrates a bidirectional dynamic analysis, connecting outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -1,41 +1,9 @@
1
1
  @charset "UTF-8";
2
2
  @import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");
3
3
  @import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
4
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;1,300&display=swap');
4
5
 
5
- @font-face {
6
- font-family: 'OdiseanTech';
7
- src: url('/font/OdiseanTech.woff2') format('woff2');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
-
12
- @font-face {
13
- font-family: 'GraphikLight';
14
- src: url('/font/GraphikLight.woff2') format('woff2');
15
- font-weight: 300;
16
- font-style: normal;
17
- }
18
-
19
- @font-face {
20
- font-family: 'GraphikLightItalic';
21
- src: url('/font/GraphikLightItalic.woff2') format('woff2');
22
- font-weight: 300;
23
- font-style: italic;
24
- }
25
-
26
- @font-face {
27
- font-family: 'GraphikMedium';
28
- src: url('/font/GraphikMedium.woff2') format('woff2');
29
- font-weight: 500;
30
- font-style: normal;
31
- }
32
-
33
- @font-face {
34
- font-family: 'GraphikMediumItalic';
35
- src: url('/font/GraphikMediumItalic.woff2') format('woff2');
36
- font-weight: 500;
37
- font-style: italic;
38
- }
6
+ /* Dropped use of Graphik as seems to have a bug at font-weight 300 */
39
7
 
40
8
  .fluid-logo {
41
9
  margin-bottom: 0;
@@ -78,7 +46,7 @@ code {
78
46
 
79
47
  body {
80
48
  font-size: 12pt;
81
- font-family: "GraphikLight", sans-serif;
49
+ font-family: "Roboto", sans-serif;
82
50
  font-weight: 300;
83
51
  line-height: 1.25;
84
52
  padding: 0;
@@ -134,7 +134,7 @@ td.table-cell {
134
134
 
135
135
  .matrix-cell-text {
136
136
  font-size: 10pt;
137
- font-family: "GraphikLight", sans-serif;
137
+ font-family: "Roboto", sans-serif;
138
138
  color: rgb(205, 205, 205)
139
139
  }
140
140
 
@@ -193,10 +193,6 @@ td.table-cell {
193
193
  font-size: 10pt;
194
194
  }
195
195
 
196
- .para-text span::after {
197
- content: " ";
198
- }
199
-
200
196
  .bar {
201
197
  stroke-width: 1.5;
202
198
  }
@@ -17,7 +17,7 @@ def mostEfficient:
17
17
  accuracies compared to uni-directional LSTM2, with the training time per epoch
18
18
  ${trendWord(model_BiLSTM.time_s, model_LSTM.time_s, growShrink)} from
19
19
  ${model_LSTM.time_s} seconds to ${model_BiLSTM.time_s} seconds.
20
- Stacking 2 layers of BiLSTM gives ${trendWord(model_2_stacked_BiLSTM.acc, model_BiLSTM.acc, improve)}
20
+ Stacking 2 layers of BiLSTM gives ${trendWord(model_2_stacked_BiLSTM.acc, model_BiLSTM.acc, improvements)}
21
21
  to development results, with a ${trendWord(model_2_stacked_BiLSTM.time_s, model_BiLSTM.time_s, smallerHigher)}
22
22
  time of ${model_2_stacked_BiLSTM.time_s} seconds. 3 layers of stacked BiLSTM
23
23
  ${trendWord(model_3_stacked_BiLSTM.acc, model_BiLSTM.acc, improve)} the results.
@@ -34,7 +34,7 @@ def mostEfficient:
34
34
  among all models compared, with the
35
35
  ${rankLabel("smallest", findIndex("model", "CNN", insertionSort(lambda a, b: a.param < b.param, tableData)))}
36
36
  model size. On the other hand, a 3-layer stacked CNN gives an accuracy of
37
- ${model_3_stacked_CNN.acc}%, which is also the
37
+ ${numToStr(model_3_stacked_CNN.acc)}%, which is also the
38
38
  ${rankLabel("lowest", findIndex("model", "CNN", insertionSort(lambda a, b: a.time_s < b.time_s, tableData)))}
39
39
  compared with BiLSTM, hierarchical attention and S-LSTM. The
40
40
  ${rankLabel("best", findIndex("model", "S-LSTM+Attention", insertionSort(lambda a, b: b.acc < a.acc, tableData)))}
@@ -37,6 +37,10 @@ def improve(EQ): "does not further improve"
37
37
  def improve(LT): "does not further improve"
38
38
  def improve(GT): "further improves"
39
39
 
40
+ def improvements(EQ): "no further improvements"
41
+ def improvements(LT): "no further improvements"
42
+ def improvements(GT): "further improvements"
43
+
40
44
  def shorterLonger(EQ): "equal"
41
45
  def shorterLonger(LT): "shorter"
42
46
  def shorterLonger(GT): "longer"
@@ -6,10 +6,10 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
7
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
8
  <title>Fluid: Data-Linked Visualisations</title>
9
- <link href="/css/styles.css" rel="stylesheet" type="text/css">
10
- <link href="/css/view-styles.css" rel="stylesheet" type="text/css">
9
+ <link href="../css/styles.css" rel="stylesheet" type="text/css">
10
+ <link href="../css/view-styles.css" rel="stylesheet" type="text/css">
11
11
  <script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
12
- <script src="/shared/util.js"></script>
12
+ <script src="../shared/util.js"></script>
13
13
  </head>
14
14
  <body class="standalone">
15
15
  <div id="grid" class="grid-container data-pane-hidden double-size">
@@ -14,6 +14,10 @@
14
14
  .data-pane {
15
15
  max-width: 400px;
16
16
  }
17
+
18
+ :root {
19
+ --text-pane-width: 530px;
20
+ }
17
21
  </style>
18
22
  </head>
19
23
  <body>
@@ -7,9 +7,6 @@ export const main = async () => {
7
7
  page => waitFor("#fig-output > svg:nth-child(1)")(page),
8
8
  page => waitFor("#fig-output > svg:nth-child(2)")(page),
9
9
  ]))()
10
- await runTests(testURL("renewables-linked")([
11
- page => waitFor("#fig-output > svg:nth-child(1)")(page),
12
- page => waitFor("#fig-output > svg:nth-child(2)")(page),
13
- ]))()
10
+ await runTests(testURL("renewables-linked")([page => waitFor("#fig-output > svg:nth-child(1)")(page)]))()
14
11
  await runTests(testURL("scigen-1805.02474v1-10")([ page => waitFor("div#fig-output")(page) ]))()
15
12
  }