@explorable-viz/fluid 0.11.3 → 0.11.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.11.3",
3
+ "version": "0.11.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": {
@@ -75,7 +75,7 @@
75
75
  "karma-mocha": "2.0.1",
76
76
  "karma-mocha-reporter": "2.2.5",
77
77
  "mocha": "^10.0.0",
78
- "puppeteer": "^23.2.0",
78
+ "puppeteer": "23.11.1",
79
79
  "purescript": "0.15.10",
80
80
  "purescript-language-server": "0.16.6",
81
81
  "purescript-psa": "0.8.2",
@@ -19,9 +19,8 @@ def convolve(image, kernel):
19
19
  def area: i * j
20
20
 
21
21
  def interMatrix(m_, n_):
22
- # @doc(f"""average these values to compute element""")
23
- [| kernel!(i_, j_) *
24
- lookup(m_ + i_ - 1 - half_i, n_ + j_ - 1 - half_j, image)
22
+ @doc(f"""average these to compute element ({m_}, {n_})""")
23
+ [| lookup(m_ + i_ - 1 - half_i, n_ + j_ - 1 - half_j, image) * kernel!(i_, j_)
25
24
  for (i_, j_) in (i, j) |]
26
25
 
27
26
  [| matrixSum(interMatrix(m_, n_)) |quot| area for (m_, n_) in (m, n) |]
@@ -1,2 +1,2 @@
1
1
  def tableData:
2
- loadJson("/dataset/SciGen/1805.02474v1-10.json")
2
+ loadJson("../dataset/SciGen/1805.02474v1-10.json")
@@ -1 +1 @@
1
- def methane: loadJson("/dataset/methane-emissions.json")
1
+ def methane: loadJson("../dataset/methane-emissions.json")
@@ -1,5 +1,5 @@
1
1
  def nonRenewables:
2
- loadJson("/dataset/non-renewables.json")
2
+ loadJson("../dataset/non-renewables.json")
3
3
 
4
4
  def renewables:
5
- loadJson("/dataset/renewable.json")
5
+ loadJson("../dataset/renewable.json")
@@ -1 +1 @@
1
- def renewables: loadJson("/dataset/renewable-new.json")
1
+ def renewables: loadJson("../dataset/renewable-new.json")