gaurv007 commited on
Commit
c3e8081
·
verified ·
1 Parent(s): 2eecd9b

Upload alpha_factory/deterministic/lint.py

Browse files
alpha_factory/deterministic/lint.py CHANGED
@@ -28,7 +28,8 @@ OPERATOR_ARITY: dict[str, int] = {
28
  "group_max": 2, "group_min": 2, "group_count": 2,
29
  "indneutralize": 2, "market_neutralize": 2,
30
  "power": 2, "max": 2, "min": 2, "winsorize": 2,
31
- "less": 1, "greater": 1, "equal": 1,
 
32
  "bucket": 2, "tail": 2, "mask": 2, "filter": 2,
33
  # 3-argument operators
34
  "ts_correlation": 3, "ts_covariance": 3,
 
28
  "group_max": 2, "group_min": 2, "group_count": 2,
29
  "indneutralize": 2, "market_neutralize": 2,
30
  "power": 2, "max": 2, "min": 2, "winsorize": 2,
31
+ # Binary comparison operators all take 2 args
32
+ "less": 2, "greater": 2, "equal": 2,
33
  "bucket": 2, "tail": 2, "mask": 2, "filter": 2,
34
  # 3-argument operators
35
  "ts_correlation": 3, "ts_covariance": 3,