cs-temporal 0.2.0__tar.gz → 0.2.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cs-temporal
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Zero-dependency bitemporal meta-analysis geometry, autonomous changepoint detection (Max-Q_cp), live retraction purge, and W3C SPARQL 1.1 Rule_H0f export.
5
5
  Author: ConductScience Foundation
6
6
  Author-email: Shuhan He <shuhan@conductscience.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cs-temporal"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Zero-dependency bitemporal meta-analysis geometry, autonomous changepoint detection (Max-Q_cp), live retraction purge, and W3C SPARQL 1.1 Rule_H0f export."
9
9
  readme = "README.md"
10
10
  license = { text = "Apache-2.0" }
@@ -19,7 +19,7 @@ from .multimodal import (
19
19
  )
20
20
  from .rdf import RULE_H0F_SPARQL, export_turtle
21
21
 
22
- __version__ = "0.2.0"
22
+ __version__ = "0.2.1"
23
23
  __all__ = [
24
24
  "__version__",
25
25
  "Study",
@@ -98,7 +98,7 @@ def evaluate_as_of(
98
98
  later: list[Study] = []
99
99
 
100
100
  for s in sorted(studies, key=lambda x: (x.day, x.id)):
101
- if s.se <= 0 or math.isnan(s.y) or math.isnan(s.se):
101
+ if not (math.isfinite(s.y) and math.isfinite(s.se) and s.se > 0.0):
102
102
  continue
103
103
  if s.day > as_of:
104
104
  later.append(s)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cs-temporal
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Zero-dependency bitemporal meta-analysis geometry, autonomous changepoint detection (Max-Q_cp), live retraction purge, and W3C SPARQL 1.1 Rule_H0f export.
5
5
  Author: ConductScience Foundation
6
6
  Author-email: Shuhan He <shuhan@conductscience.com>
File without changes
File without changes
File without changes