instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
systemjs__systemjs__2121 | systemjs/systemjs | 2,121 | defect | 9cb84ba0ee5418872c4e731d3a8db307313a900e | 1451f58fe64ec4ac79bf6767494e80a57cafb3d8 | Fixing more named register race conditions. | Unfortunately, @frehner and @TheMcMurder found some more race conditions that I overlooked in #2116.
Without the setTimeout, unexpected named calls to `define()` or `System.register()` while waiting for a `System.import()` to finish results in the wrong module being returned from getRegister(). If the calls to `defi... | diff --git a/src/extras/amd.js b/src/extras/amd.js
index f51302808..2f6c89245 100644
--- a/src/extras/amd.js
+++ b/src/extras/amd.js
@@ -155,6 +155,9 @@
function addToRegisterRegistry(name, define) {
if (!firstNamedDefine) {
firstNamedDefine = define;
+ setTimeout(function () {
+ firstNamedDe... | 1 | 1 | 0 | [{"id": "G0", "claim": "With the new setTimeout clearing of firstNamedDefine in addToRegisterRegistry, the firstNamedDefine = null clearing hook on System.import looks redundant, so the System.import paths (and possibly the getRegister clearing) should be removed for focused code paths.", "category": "design", "verdict... | null |
systemjs__systemjs__2125 | systemjs/systemjs | 2,125 | defect | dc9a1dad19d29c1252b322d6d15c543901dd1dbe | cdf5a7e1fc8a0651fe68bf63300f78e1fc69a45c | fix: cleaning up registerRegistry after instantiate | - Fixes https://github.com/systemjs/systemjs/issues/2124
- Deletes entries off `registerRegistry` after instantiating
- Introduces `nameRegistry` to keep track of resolved module names | diff --git a/dist/extras/named-register.js b/dist/extras/named-register.js
index cfc34c4ed..6e1efcc49 100644
--- a/dist/extras/named-register.js
+++ b/dist/extras/named-register.js
@@ -21,6 +21,7 @@
function setRegisterRegistry(systemInstance) {
systemInstance.registerRegistry = Object.create(null);
+ syst... | 3 | 2 | 0 | [{"id": "G0", "claim": "The nameRegistry array added by this PR gives O(n) lookups, and using the registerRegistry object instead (e.g. setting registerRegistry[name] = null and checking hasOwnProperty in the resolver) would be faster and save code.", "category": "performance", "verdict": "supported", "priority": "P2",... | null |
systemjs__systemjs__2130 | systemjs/systemjs | 2,130 | defect | 6caaee592172954bbf65bd8490212286f6e38754 | 99860cf645bc349e51c088f687e3a1beb4d1b9c8 | Fix AMD modules which return falsy values | - fixes #2129
- AMD modules can successfully return falsy values such as `''` or `false` | diff --git a/dist/extras/amd.js b/dist/extras/amd.js
index aa2be7f9d..24ff35980 100644
--- a/dist/extras/amd.js
+++ b/dist/extras/amd.js
@@ -55,7 +55,9 @@
return {
setters: setters,
execute: function () {
- module.exports = amdExec.apply(exports, depModules) || module.exports;
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Testing both null and undefined is unnecessary; checking undefined alone should be enough.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
systemjs__systemjs__2134 | systemjs/systemjs | 2,134 | defect | 10fae8c5801289bd4a4ecdc5be3d6b6c070f403d | 57a84a9f969bcfeb6dc9d6571a841df9389f70a0 | depcache implementation | Posting this early for feedback / informative purposes.
I'm in the process of seeing if we can get depcache from previous versions of SystemJS specified for import maps directly here - https://github.com/WICG/import-maps/pull/210.
Will be working off this experimental implementation to test things out further. | diff --git a/src/common.js b/src/common.js
index d8c6886b0..06a21071f 100644
--- a/src/common.js
+++ b/src/common.js
@@ -135,7 +135,7 @@ function resolveAndComposePackages (packages, outPackages, baseUrl, parentMap, p
}
export function resolveAndComposeImportMap (json, baseUrl, parentMap) {
- const outMap = { impo... | 1 | 1 | 0 | [{"id": "G0", "claim": "Preloading should be done recursively for the whole dependency tree; otherwise the change only halves the loading waterfall.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
systemjs__systemjs__2150 | systemjs/systemjs | 2,150 | defect | 0f1161d86e6d84642d2d94b3f686f0028959297b | fa361891effb7d7f5f221500e2174649607caaef | NodeJS Support | Resolves #1873. This is a WIP PR - will polish it up and add tests if feedback is looking positive. Note that this PR currently is to the `build` branch instead of master. Am happy to change it away from that if #2149 doesn't go through. | diff --git a/minify-extras.sh b/minify-extras.sh
deleted file mode 100644
index c692ed934..000000000
--- a/minify-extras.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-mkdir -p dist/extras
-cp src/extras/* dist/extras/
-cd dist/extras
-rm *.min.js
-for f in *.js
-do
- short=${f%.js}
- ../../node_modules/.bin/terser $f -c passes=2... | 7 | 5 | 1 | [{"id": "G0", "claim": "Alternatively the package.json \"main\" could point at src/system-node.js and require all users to use a Node version new enough to support NodeJS ES modules.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Unconditionally replacing ... | null |
systemjs__systemjs__2151 | systemjs/systemjs | 2,151 | defect | 7a75159ee50178ef929a23739cf4418f5e5605ba | d1fe96bb848ae762aac53086ea5fa8b07db82a95 | Switching to error codes and documentation pages | Resolves #2082 - this will help guide people just starting to use systemjs to be able to understand the error messages that they receive. Overall it is a byte reduction.
I have only documented Error Code #1 so far, but will add documentation for all 12 error codes if feedback looks good on this.
Development build... | diff --git a/docs/errors.md b/docs/errors.md
new file mode 100644
index 000000000..afb9a4a3b
--- /dev/null
+++ b/docs/errors.md
@@ -0,0 +1,21 @@
+# SystemJS Errors
+
+This page explains possible SystemJS errors that you may encounter.
+
+## 1
+
+### Import Map contains invalid JSON
+
+This error occurs when you have a ... | 20 | 19 | 5 | [{"id": "G0", "claim": "In prepareImport the inline import map is parsed via `parseJson(script)` instead of `script.innerHTML`, so the JSON string the PR sets out to parse is never passed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The import-ma... | null |
systemjs__systemjs__2204 | systemjs/systemjs | 2,204 | defect | 328698968561ee279f3df48589b6ca2c4d14e997 | d93b2f45caa97759386283bb3579081e11784acb | Fix onload | Currently tracking hook onload will be called multiple times when one of dep execution failed, this request aims to align the error handle as instantiate | diff --git a/src/system-core.js b/src/system-core.js
index 40fc0f85e..efd9371c0 100644
--- a/src/system-core.js
+++ b/src/system-core.js
@@ -52,8 +52,8 @@ if (!process.env.SYSTEM_PRODUCTION)
function loadToId (load) {
return load.id;
}
-function triggerOnload (loader, load, err) {
- loader.onload(err, load.id, lo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new fourth parameter of triggerOnload should be named isErrSource instead of isSource.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
systemjs__systemjs__2216 | systemjs/systemjs | 2,216 | defect | b6be7a367ebfa228e1b97f510ff2e322327e8a8e | c0b877d41b8c0f7ab0d1215a6df236565c34a2b1 | Auto import and core refactoring | This implements the auto import approach directly in core, as created by @tmsns in https://github.com/systemjs/systemjs/pull/2210, extending it to any number of scripts.
In addition this includes core refactoring to make processing phases more clear for import map and script processing. | diff --git a/src/common.js b/src/common.js
index 1e3dec479..48a4b26e9 100644
--- a/src/common.js
+++ b/src/common.js
@@ -130,6 +130,8 @@ function objectAssign (to, from) {
return to;
}
+export var IMPORT_MAP = hasSymbol ? Symbol() : '#';
+
function resolveAndComposePackages (packages, outPackages, baseUrl, paren... | 1 | 1 | 1 | [{"id": "G0", "claim": "With the `document.readyState === 'loading'` guard, the last `script` of the page is not guaranteed to be the one that called `register()`: when the first auto-imported script performs a dynamic `System.import()` while further `script` tags are still being parsed, the registration is attributed ... | null |
systemjs__systemjs__2429 | systemjs/systemjs | 2,429 | defect | 6376e510339894fe6efaa6ca53b763a851b74a6c | e1712cdb9dea8bd3865d872e6599baa08f31bc0c | expose addImportMap | fix #2428 | diff --git a/src/features/import-maps.js b/src/features/import-maps.js
index 9b17315a0..79ee0f853 100644
--- a/src/features/import-maps.js
+++ b/src/features/import-maps.js
@@ -23,6 +23,9 @@ if (hasDocument) {
processScripts();
window.addEventListener('DOMContentLoaded', processScripts);
}
+systemJSPrototype.app... | 9 | 8 | 0 | [{"id": "G0", "claim": "The pull request's tests are failing on CI and the author needs to look into it.", "category": "testing", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new method needs documentation added to the SystemJS API documentation.", "category": "documentat... | null |
systemjs__systemjs__704 | systemjs/systemjs | 704 | defect | 851c2f6d085cc09f2435fc3c890e7a2f8f6266eb | 038c6cf8d468bd4182fa8183e87b677e5e614731 | Enable setting properties on script element. | The script loader will use load metadata to set script properties. This allows what is in the script tag to be set in meta.
There are two primary use cases: CSP nonce and subresource integrity.
Users of SystemJS wanting to take advantage of CSP can set a "nonce" value in their CSP config. Setting the meta attribute "... | diff --git a/lib/global-eval.js b/lib/global-eval.js
index 8a86b0bac..9aad00c73 100644
--- a/lib/global-eval.js
+++ b/lib/global-eval.js
@@ -32,6 +32,8 @@ var __exec;
// this may lead to some global module execution differences (eg var not defining onto global)
if (isWorker || isBrowser && window.chrome && window... | 6 | 3 | 1 | [{"id": "G0", "claim": "The new 'Importing a script with wrong integrity fails' test also runs in Node, so it needs a selection rule like `if (typeof window != 'undefined')`.", "category": "testing", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When CSP in Chrome blocks a resou... | null |
systemjs__systemjs__920 | systemjs/systemjs | 920 | defect | 78ec7f29b2526cc82f236b23a3b3f0063d135a6a | dbf53dc539942c7596e6e8fb1026becdff176221 | Proposed fix for https://github.com/systemjs/systemjs/issues/919 | - Fix code in cjs.js to correctly match last index of comments.
- Add test module that includes the require('') at end of comment string
- Add unit test to prove the module can be loaded OK with the comment present
| diff --git a/lib/cjs.js b/lib/cjs.js
index 5e8916f63..5268ba629 100644
--- a/lib/cjs.js
+++ b/lib/cjs.js
@@ -24,7 +24,7 @@
function inLocation(locations, match, starts) {
var inLocation = false;
for (var i = 0; i < locations.length; i++)
- if (locations[i][0] < match.index && locations[i][1] >... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new test file test/tests/commonjs-requires-in-comment.js is not a valid CommonJS file and should instead be written as a plain CommonJS file with a require('') inside a comment and an export.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
systemli__prometheus-jitsi-meet-exporter__10 | systemli/prometheus-jitsi-meet-exporter | 10 | defect | e36b5a845a46da8c967f840d366f1184ab9daf9d | 728afca31c601f942f0f017251b04622f7855839 | Fix datatypes for bit_rate_download and bit_rate_upload | Sorry, there are two other fields that also changed.. my bad :( | diff --git a/main.go b/main.go
index e8d17cb..fb07e5e 100644
--- a/main.go
+++ b/main.go
@@ -15,8 +15,8 @@ var (
type videoBridgeStats struct {
Threads int `json:"threads"`
- BitRateDownload int `json:"bit_rate_download"`
- BitRateUpload ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The struct-field lines added in main.go are not gofmt-formatted and should be reformatted with `go fmt`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
systemli__prometheus-jitsi-meet-exporter__55 | systemli/prometheus-jitsi-meet-exporter | 55 | defect | a8ef6c96b3e0f5a4785bcb1fd998239bbc308b2f | 5ae57392fa7f85d6f2dde560d846ed968a12043a | add total participants metrics | Hello,
I need "total_participants" metrics to make some graphs
thx | diff --git a/main.go b/main.go
index a3a90bc..07f9324 100644
--- a/main.go
+++ b/main.go
@@ -104,6 +104,9 @@ jitsi_p2p_conferences {{.P2PConferences}}
# HELP jitsi_participants The current number of participants.
# TYPE jitsi_participants gauge
jitsi_participants {{.Participants}}
+# HELP jitsi_total_participants To... | 2 | 2 | 2 | [{"id": "G0", "claim": "The tests for this pull request fail, and tests have to be added in main_test.go.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The jitsi_total_participants fixtures added in main_test.go expect 20 in both test cases, but the co... | null |
syswonder__ruxos__185 | syswonder/ruxos | 185 | defect | 339c538646c53301e279972f72f0bd54ae6dadb8 | 24e5fd909edabea1cc87dd9fa7d093894df48f39 | feat: add fifo(named_pipe) and sys_mknodat | feat: add fifo(named_pipe) and sys_mknod, sysmknodat
<img width="709" alt="image" src="https://github.com/user-attachments/assets/23ad788b-d4d4-4647-b1a2-318f5138d18c" />
| diff --git a/Cargo.lock b/Cargo.lock
index 5322cdb0b..52073ca3e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -180,8 +180,11 @@ dependencies = [
name = "axfs_ramfs"
version = "0.1.0"
dependencies = [
+ "axerrno",
"axfs_vfs",
"log",
+ "ruxconfig",
+ "ruxhal",
"spin",
]
diff --git a/api/ruxos_posix_api/build.rs... | 1 | 1 | 0 | [{"id": "G0", "claim": "The hand-rolled ring buffer in crates/axfs_ramfs/src/fifo.rs should be replaced with the existing ringbuffer crate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
szimek__signature_pad__581 | szimek/signature_pad | 581 | defect | 862d3c9d52fd6443f43f84fee545673e23d3e9ec | 40965b78f154ed5a67da04925299f40bcf4ef351 | Create adapter class for EventTarget so that it would work in older iOS. | It would check whether it could create EventTarget object. If failed,
then it use document object as its EventTarget object.
This is to support iOS 13 and older version.
If this needs anything else, please don't hesitate to let me know. | diff --git a/docs/js/signature_pad.umd.js b/docs/js/signature_pad.umd.js
index 77020f32..293438ce 100644
--- a/docs/js/signature_pad.umd.js
+++ b/docs/js/signature_pad.umd.js
@@ -135,9 +135,35 @@
};
}
- class SignaturePad extends EventTarget {
+ class SignatureEventTarget {
+ constructor(do... | 4 | 4 | 2 | [{"id": "G0", "claim": "Tests should be written to make sure signaturePad.on('beginStroke') and the other events work.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SignaturePad should extend SignatureEventTarget rather than copying its addEventListene... | null |
szimek__signature_pad__672 | szimek/signature_pad | 672 | defect | 96b59bfbc2b6f7b3d4b3ece9cd468492db46a68f | 2ebd905458210c87a384000306cb305deda7d75f | fix: Fix empty `toDataURL()` in TypeScript | The recent change to the `toDataURL` function made the `type` parameter required. It was previously optional. This is a breaking change and most likely an innocent mistake.
Additionally, the type of the `encoderOptions` parameter for the second overload was corrected. The type of `type` could be `string` and its val... | diff --git a/src/signature_pad.ts b/src/signature_pad.ts
index f76a6440..d0287f32 100644
--- a/src/signature_pad.ts
+++ b/src/signature_pad.ts
@@ -146,7 +146,7 @@ export default class SignaturePad extends SignatureEventTarget {
type: 'image/svg+xml',
encoderOptions?: ToSVGOptions,
): string;
- public toDa... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a test covering `toDataURL` called without a type parameter so the fixed default-type behaviour does not break again.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second `toDataURL` overload must not accept `ToSVGOption... | null |
szimek__signature_pad__725 | szimek/signature_pad | 725 | defect | 11272b4a7ac0fe5ca88cba08b5046b8decc1201a | f01d089e1db5c7f1fb9afc91df09faa1eb915ae2 | fix(eraser): solves issues with eraser | Hi there!
I struggled a lot with implementing an `undo` and `erase` feature for my canvas.
After research, I found issue #421 which already provides a well-working version.
This PR includes the suggested changes which are provided by @JoeLeung32 (btw. thank you so much!) | diff --git a/src/signature_pad.ts b/src/signature_pad.ts
index c7a01af0..7702782b 100644
--- a/src/signature_pad.ts
+++ b/src/signature_pad.ts
@@ -46,6 +46,8 @@ export interface Options extends Partial<PointGroupOptions> {
export interface PointGroup extends PointGroupOptions {
points: BasicPoint[];
+ color: str... | 7 | 4 | 3 | [{"id": "G0", "claim": "An erase feature does not make sense for a library meant for signatures and should not be added to it.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README advertises an erase feature (Stackblitz demo) that currently does not w... | null |
szimek__signature_pad__785 | szimek/signature_pad | 785 | defect | 6d27df64c1f645fa43c929b4c372b1f2d74c6479 | e3c8b3362ee6eecf6560912845279962d504da44 | fix: prevent division by zero in bezier | In some cases Bezier curve calculations could fail due to division by zero.
(for example when signature was generated by older version of the lib or another lib with similar approach to saving canvas data like this one http://keith-wood.name/signature.html)
<img width="438" alt="Screenshot 2024-08-23 at 16 29 42" s... | diff --git a/src/bezier.ts b/src/bezier.ts
index 17ba5954..9fddfd2d 100644
--- a/src/bezier.ts
+++ b/src/bezier.ts
@@ -33,7 +33,7 @@ export class Bezier {
const dxm = m1.x - m2.x;
const dym = m1.y - m2.y;
- const k = l2 / (l1 + l2);
+ const k = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
const cm = { x: m... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a test covering the division-by-zero guard for the bezier k coefficient.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sztomi__dap-rs__25 | sztomi/dap-rs | 25 | defect | 7197b1d18b39cfb3ed751e8e39efe927711c80b1 | 923fb53daf581be671d1b6b598d6a58cd6e73e6c | Update to v1.62.x | This PR updates the implementation to conform with v1.62.x. Until https://github.com/microsoft/debug-adapter-protocol/issues/420 is addressed in some way, I'm using the commit hash that updates the schema in the DAP repo.
@nuid64 looks like I can't add you as a reviewer but your thoughts would be welcome as well.
... | diff --git a/dap/src/lib.rs b/dap/src/lib.rs
index 1b8cee7..034ad50 100644
--- a/dap/src/lib.rs
+++ b/dap/src/lib.rs
@@ -89,3 +89,5 @@ pub mod responses;
pub mod reverse_requests;
pub mod server;
pub mod types;
+pub mod utils;
+pub use utils::get_spec_version;
diff --git a/dap/src/requests.rs b/dap/src/requests.rs
i... | 1 | 1 | 0 | [{"id": "G0", "claim": "In SetExpressionResponse the doc comments for named_variables and indexed_variables still read 'The i64 of named/indexed child variables.' although the pull request changed both fields to Option<i32>, so the comments should be updated to match (suggested: 'The i32 of ...').", "category": "docume... | null |
t3-oss__t3-env__111 | t3-oss/t3-env | 111 | defect | 8738a6d657bf45277f4ae83f72007a04e560095b | 85afc738bf6cd8eca1c2574a6d15acddbac4678c | feat: env vars should be readonly | Closes #108 | diff --git a/examples/astro/src/env.d.ts b/examples/astro/src/env.d.ts
new file mode 100644
index 00000000..8c34fb45
--- /dev/null
+++ b/examples/astro/src/env.d.ts
@@ -0,0 +1 @@
+/// <reference types="astro/client" />
\ No newline at end of file
diff --git a/packages/core/index.ts b/packages/core/index.ts
index f910f8... | 2 | 2 | 0 | [{"id": "G0", "claim": "The accidentally generated examples/astro/src/env.d.ts should perhaps be added to .gitignore.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test showing that assigning to a readonly env property fails (with @ts-expect-... | null |
t3-oss__t3-env__64 | t3-oss/t3-env | 64 | defect | b7f8defe826cfefd367f5263c3fa7646ebcb57eb | ee51aaa998f8f0006dac6bbdd44d79bf6ba48a70 | server/client only environment support | I have opened this pr to add server only and client only functionality which removes the requirement of server/client fields when `serverOnly: boolean` or `clientOnly: boolean` is passed. This aims to addresses #57 and #63.
I am new to typescript and have come up with an potential implementation, please let me know... | diff --git a/docs/src/app/docs/customization/page.mdx b/docs/src/app/docs/customization/page.mdx
index d21994fa..3cb443d6 100644
--- a/docs/src/app/docs/customization/page.mdx
+++ b/docs/src/app/docs/customization/page.mdx
@@ -55,3 +55,52 @@ export const env = createEnv({
isServer: typeof window === "undefined",
})... | 4 | 4 | 3 | [{"id": "G0", "claim": "The explicit serverOnly/clientOnly options should be dropped in favour of letting the client or server field simply be omitted from createEnv.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new server/client-only behaviour sho... | null |
t49tran__react-google-recaptcha-v3__51 | t49tran/react-google-recaptcha-v3 | 51 | defect | 9c5608f0ab40d995fb433c9fa2151294637c9bb8 | 753ad606c9302863fc50f8cdb9d00398af7d0122 | Add support for async/defer and appendTo props | Added the support to load the script tag with `async` and `defer` attribute.
Since I was at it I added the possibility to append the script to the body instead of the head element.
I was unable to test the `async` attribute since jsdom does not support it, but it seems quite trivial to conditionally add an attribu... | diff --git a/README.md b/README.md
index c28d104..cc2c8bb 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,8 @@ To use `react-google-recaptcha-v3`, you need to create a recaptcha key for your
It also provides an optional prop `language` to support different languages that is supported by Google Recaptcha.
https://... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `if (!!defer)` guard can be replaced by the direct assignment `js.defer = !!defer`, dropping the if statement.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests' expected script HTML should be written as a sing... | null |
t49tran__react-google-recaptcha-v3__61 | t49tran/react-google-recaptcha-v3 | 61 | defect | d22af8209aa1880626786eefc50a205c231c08f1 | 36dbaec51e876ca7dfea940293d29da915dcfb11 | Support to reCaptcha Enterprise | I was requested to use the enterprise version of reCaptcha. Since we already using this library, I figured that is not too hard to make it works with this paid version of Captcha. The enterprise version is totally compatible since we chose the right Integration type, which is Scoring.
I created a new boolean prop ca... | diff --git a/README.md b/README.md
index bd3fa08..2338b26 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,14 @@ npm install react-google-recaptcha-v3
To use `react-google-recaptcha-v3`, you need to create a recaptcha key for your domain, you can get one from [here](https://www.google.com/recaptcha/intro/v3.html)... | 3 | 3 | 0 | [{"id": "G0", "claim": "handleOnLoad should avoid reassigning/mutating _grecaptcha and instead bind it once with a const ternary, e.g. const grecaptcha = enterprise ? (window as any).grecaptcha.enterprice : (window as any).grecaptcha.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "... | null |
ta4j__ta4j__1004 | ta4j/ta4j | 1,004 | defect | 0c604253f09601849a9fe4ad0e30ae1301957f83 | 5853aebe119c8edb580f29f583c3ad15b4a9686b | added `NumIndicator` | Fixes #.
Changes proposed in this pull request:
- added **NumIndicator** to calculate any `Num`-value for a `Bar`
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
_The `NumIndicator` complements the existing `DateTimeIndicator`.
With the `NumIndicator`, we can e... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6d97941d2a..d85e035ed6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,6 +47,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- added "lessIsBetter"-property for **VarianceCriterion**
- added "lessIsBetter"-property for **NumberOf... | 2 | 2 | 1 | [{"id": "G0", "claim": "Care must be taken not to generify existing code with the new generic NumIndicator (replacing the specific Close/Open/High/Low/Volume indicators), since a previous such attempt was reverted because it became too complex and unreadable.", "category": "design", "verdict": "supported", "priority": ... | null |
ta4j__ta4j__1052 | ta4j/ta4j | 1,052 | defect | 22da507e19f2a79569d0afbde63af47bb7117bae | 59cba8bdeb5a2030489205c1c9303feb6a52ba11 | BarSeries#getBar(index i): improve javadoc | Fix https://github.com/ta4j/ta4j/issues/1009
Changes proposed in this pull request:
- improve javadoc for BarSeries#getBar(index i)
-
-
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md` (already done by entry "improved javadoc")
| diff --git a/ta4j-core/src/main/java/org/ta4j/core/BarSeries.java b/ta4j-core/src/main/java/org/ta4j/core/BarSeries.java
index 1961c64e53..2a17403060 100644
--- a/ta4j-core/src/main/java/org/ta4j/core/BarSeries.java
+++ b/ta4j-core/src/main/java/org/ta4j/core/BarSeries.java
@@ -183,7 +183,14 @@ default String getSeries... | 1 | 1 | 0 | [{"id": "G0", "claim": "The explanation of how setMaximumBarCount removal affects getBar indices should be placed in the javadoc of getBar(int i) and/or setMaximumBarCount, because someone using those methods may not check private property descriptions.", "category": "documentation", "verdict": "supported", "priority":... | null |
ta4j__ta4j__1100 | ta4j/ta4j | 1,100 | defect | d015da953a20fce27faf61ece8ed66498aa18011 | f617f0c79fc530f8fc0346b19ed1cc92c4437909 | Add a Running Total aka Cumulative Sum indicator | This adds a utility indicator RunningTotalndicator
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index d9cc34a807..93e413098b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -103,6 +103,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- added `DoubleNum.valueOf(DecimalNum)` to convert a DecimalNum to a DoubleNum.
- added "TradeExecutio... | 3 | 2 | 1 | [{"id": "G0", "claim": "Use `Num sum = zero();` instead of `Num sum = numOf(0);` in RunningTotalIndicator.calculate().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `BarSeries#getBeginIndex` instead of the hard-coded zero as the first valid... | null |
ta4j__ta4j__1109 | ta4j/ta4j | 1,109 | defect | 7f223a1c7ca5e27ed81dcee5c794d6bc708a124b | cd6a795a6a44cc56f3b401441511fa475602f36f | add-Num#bigDecimalValue | Fixes #.
Changes proposed in this pull request:
- added `Num.bigDecimalValue()` to convert the `Num` to a `BigDecimal`
- For `DecimalNum` it returns its `delegate`
- For `DoubleNum` it converts by `BigDecimal.valueOf(delegate)` (if delegate is `NaN` or `Infinity`, then it simply returns `null`)
- For... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27c3d5f281..11099efdbd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -132,6 +132,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- added "TradeExecutionModel" to modify trade execution during backtesting
- added **NumIndicator** to... | 3 | 3 | 1 | [{"id": "G0", "claim": "It would be better to override bigDecimalValue() in the Num subclasses instead of providing a default method that needs an instanceof check and a cast.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new changelog entry for Num... | null |
ta4j__ta4j__1125 | ta4j/ta4j | 1,125 | defect | 14cd7c25471d4e5d06db2aed8baa08fc48542b82 | 626a123ffdc22429e5138916e4c917210fb77c29 | Feature/recent swing high and low indicators | Fixes #.
Changes proposed in this pull request:
- Add new RecentSwingHighIndicator
- Add new RecentSwingLowIndicator
- [X] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 756f0d66ab..31c05f9a51 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -109,6 +109,8 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- added "TradeExecutionModel" to modify trade execution during backtesting
- added **NumIndicator** to... | 3 | 2 | 2 | [{"id": "G0", "claim": "The indicator does not handle flat peaks/valleys (equal highs/lows across several bars); the reviewer says such plateaus are common in his index data and presses for them to be recognised as swing highs, possibly via a parameter for the number of ticks allowed at the top/bottom.", "category": "c... | null |
ta4j__ta4j__1127 | ta4j/ta4j | 1,127 | defect | a361c9b46a4cbabc863bb11d30d9c7f21256f883 | 873bcfd9334735afbb877adad4e61147d6e93422 | Update Num interface to implement Serializable | Fixes #.
Changes proposed in this pull request:
- Updated Num interface to implement Serializable
- Updated classes implementing Num interface
- Added test
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95a9aed1cd..242835f5b3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,6 +47,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **PreviousValueIndicator** returns `NaN` if the (n-th) previous value of an indicator does not exist, i... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use 1L instead of a generated value for the initial serialVersionUID values.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ta4j__ta4j__1140 | ta4j/ta4j | 1,140 | defect | 4a637c0551a1b8acb84f4c4b47e66b79fc02a875 | 0cd674cdfda5ecd059a29b46034265c1239a42e9 | Implemented partial sum cache for SMAIndicator | Fixes #1139.
Performance of partial sums.
Changes proposed in this pull request:
- longer barSeries benefits from reusage of precomputed partial sums
- random access fallbacks to slowPath
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 242835f5b3..017a87304d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangelog.com/en/1.0.0/) from version 0.9 onwards.
## 0.16 (unreleased)
+- **Implemented inner cache for SMAIndi... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new field and its usages should be spelled `previousSum` instead of `previsouSum` (applied via suggestion block).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cached SMAIndicator should come with tests for movin... | null |
ta4j__ta4j__1174 | ta4j/ta4j | 1,174 | defect | 195f1d0b6675d5a65e60a8beaf30f1999f0626d4 | 4b5e1d5b60722cd5ae605deef17fd1dc760452d2 | Candle indicators | Fixes #1145.
Continuing the work on https://github.com/ta4j/ta4j/pull/1146
Changes proposed in this pull request:
- HammerIndicator
- InvertedHammerIndicator
- HangingManIndicator
- ShootingStarIndicator
- DownTrendIndicator
- UpTrendIndicator
- [x] added an entry with related ticket number(s) to the unr... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index a7870952bc..3b8c90249d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangelog.com/en/1.0.0/) from version 0.9 onwards.
## 0.17
+- **Implemented trend reversal candles**
+- **Fixed ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The change-log entries added at the top of the 0.17 section should be placed under their appropriate 0.17 sub-sections (Fixed/Added) instead of the section header.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "As a future ... | null |
ta4j__ta4j__1193 | ta4j/ta4j | 1,193 | defect | 08268f52afa1269ab5d2a0ed9574d6ff1572fb2e | 38ee5e07a5acc007e48003e1adf6e49a13d73108 | EnterAndHoldCriterion: add optional amount | Fixes https://github.com/ta4j/ta4j/issues/1132
Changes proposed in this pull request:
- Added constructor with `amount` for `EnterAndHoldCriterion`
- Added constructor with `amount` for `VersusEnterAndHoldCriterion`
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 830e830987..d152cccaa6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,8 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- added `Bar.getSystemZonedBeginTime`: the bar's begin time converted to system time zone
- added `Bar.g... | 3 | 3 | 2 | [{"id": "G0", "claim": "The null check and default amount assignment in createEnterAndHoldTrade (and the same pattern in createEnterAndHoldTradingRecord) should be moved up into the constructor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
ta4j__ta4j__1283 | ta4j/ta4j | 1,283 | defect | df40f73bc3a6f256a3de162cda6daa3a6c458547 | d7557813a25cc0f9a0588d3aa27eb89c616ffe8a | Build bars with beginTime | Fixes https://github.com/ta4j/ta4j/issues/1213
Fixes https://github.com/ta4j/ta4j/issues/982
Changes proposed in this pull request:
- build bars by beginTime instead of endTime
- Additional checks to ensure consistency between beginTime, endTime and timePeriod
- [x] added an entry with related ticket number(s... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f13803cd6..b12312a44e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Removed/Deprecated
### Added
+- Bars can now be built by `beginTime` instead of `endTime`
## ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The createBarsWithMissingFields test combines two scenarios (a bar built without beginTime and one built without endTime) and should be split into two separate unit tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ta4j__ta4j__1286 | ta4j/ta4j | 1,286 | defect | df40f73bc3a6f256a3de162cda6daa3a6c458547 | 852387ac2563f4a54a5e0cf2326787fb1a2d30c0 | #1266 consolidate redundant classes | Fixes #1266.
Changes proposed in this pull request:
- Remove TransformIndicator
- Remove CombineIndicator
- Enhance BinaryOperation
- Enhance UnaryOperation
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f13803cd6..481120be42 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Breaking
- Refactored `ProfitLossCriterion`, `ProfitCriterion`, `LossCriterion`, `AverageProfitCrite... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new constant-overload methods should name their second parameter more precisely — `addend` for sum, `subtrahend` for difference, and either precise per-method names or a single generic name like `operand`/`constant` (including in UnaryOperation.pow) — instead of the misleading `coefficient`.... | null |
ta4j__ta4j__1323 | ta4j/ta4j | 1,323 | defect | 40b99cffddd2e549b74c17a9f27e636206195999 | 6c2465b649dff84632e20f29f818985b5c224f7f | Net Momentum Indicator | Changes proposed in this pull request:
- Added `NetMomentumIndicator` to provide magnitude and duration insights for any oscillating indicator
-
- [X] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/Agent.md b/Agent.md
new file mode 100644
index 0000000000..b8c1218304
--- /dev/null
+++ b/Agent.md
@@ -0,0 +1,39 @@
+# Agent Notes
+
+
+## Scope: Unit Test Development
+
+These reminders capture the potential friction points when working on unit tests
+
+### Preferred Change Workflow
+- Under Windows OS: ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The calculation accumulates deltaFromNeutralIndicator without guarding against NaN inputs, so NaN values emitted during the oscillator's warm-up period propagate through the recursion and every subsequent value stays NaN; consider skipping or zeroing NaN deltas so the indicator can emit real val... | null |
ta4j__ta4j__1333 | ta4j/ta4j | 1,333 | defect | 9fe87348633901fa938b5e0469140b8072063fc5 | fef6561c1b3baf101bba90218f31f136bce9b4fb | Add Renko indicators for issue #1187 | Changes proposed in this pull request:
- Add `RenkoUpIndicator`, `RenkoDownIndicator`, and `RenkoXIndicator` with a shared `RenkoCounter` helper to compute brick state
- Add comprehensive Renko indicator tests that cover reversals, exact brick boundaries, and multi-brick price moves
- Document Renko package guidance, r... | diff --git a/AGENTS.md b/AGENTS.md
index 3fded2bdbe..c23c33d7a0 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -7,3 +7,4 @@
- When adding tests, place them in the mirrored package inside `src/test/java` and use existing test utilities/helpers when available.
- Run the narrowest Maven test command that covers new code (typ... | 1 | 1 | 1 | [{"id": "G0", "claim": "stateAt() caches the RenkoState for the still-forming last bar, so repeated calls while the bar is forming return a stale state even though priceIndicator now produces a different value, and all three Renko indicators report outdated brick counts until a new bar is appended; the counter should b... | null |
ta4j__ta4j__1363 | ta4j/ta4j | 1,363 | defect | 54d3e2f91ecf271db5f08b4f239a4bc489a094eb | 1f2395c8cbfc4135e60bb549e1961befe1b81ae1 | add VoteRule for majority-based rule satisfaction | Changes proposed in this pull request:
- add `VoteRule` for majority-based rule satisfaction
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea3096cf53..28690477a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -52,6 +52,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- New `substitute` helper function to `UnaryOperation`
- Added `DecimalNumPrecisionPerformanceTest` as a... | 4 | 4 | 1 | [{"id": "G0", "claim": "Delegate the varargs constructor to the collection constructor with this(requiredVotes, Arrays.asList(rules)) instead of duplicating validation and field assignment.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a @since 0.19... | null |
ta4j__ta4j__1391 | ta4j/ta4j | 1,391 | defect | b814436b11561e6c855ea7fd24bf3d615c190a8b | 2230d587c79946f7fc3e7a99a346348bec0bee50 | Enhance caching for rule names to improve performance | Fixes #1390
Changes proposed in this pull request:
- **Rule name serialization contention**: Cached generated default rule names so repeated `Rule#getName()` calls no longer trigger JSON serialization, eliminating the hot lock that appeared when many strategies ran in parallel.
- [X] added an entry with related... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6f2650a869..1176b88a38 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,11 @@
All data sources support the same domain-driven API: `loadSeries(ticker, interval, start, end)`. No more remembering whether your CSV uses `_bars_from_` or `-PT1D-` in the filenam... | 2 | 2 | 2 | [{"id": "G0", "claim": "Rule name caching will not prevent the issue because creating e.g. an AndRule still triggers createCompositeName and thus a gson call at rule-creation time, which in a highly multithreaded environment serializes rule creation.", "category": "performance", "verdict": "supported", "priority": "P1"... | null |
ta4j__ta4j__1428 | ta4j/ta4j | 1,428 | defect | 7e05347098b7ea8c13ecf1b7b18d3a1f1e7abf90 | 41c0994a3c0cb2464ea2635a9a1dd0559557426a | And/or rules with threshold | Fixes https://github.com/ta4j/ta4j/issues/1422. Implemented an extension of existing and/or rules that also check backwards and fires a signal if the individual rules are triggered within the given threshold.
Changes proposed in this pull request:
- Added AndWithThresholdRule
- Added OrWithThresholdRule
- [X] a... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b76ad1b8fc..b3a079f654 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@
- Added **MorningStarIndicator** and **EveningStarIndicator**
- Added **BullishKickerIndicator** and **BearishKickerIndicator**
- Added **PiercingIndicator** and **DarkCloudIndicator**... | 3 | 3 | 0 | [{"id": "G0", "claim": "Add a @since 0.22.2 tag to the AndWithThresholdRule class Javadoc (the suggested text was placed after the closing comment delimiter, intended as a @since Javadoc tag).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The And... | null |
ta4j__ta4j__1437 | ta4j/ta4j | 1,437 | defect | 282cf02bfb9226ca5e43915d89e152aca3508318 | 4b5dee04e2e7744eae8564a0a840ab506dda652a | Addition of DonchianChannelFacade | Changes proposed in this pull request:
- Added DonchianChannelFacade #1407
- [✓] added an entry with related ticket number(s) to the unreleased section of `CHANGELOG.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index af3fb21e04..bea58f3919 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@
- Added **PiercingIndicator** and **DarkCloudIndicator**
- **Threshold-based boolean rules**: [#1422](https://github.com/ta4j/ta4j/issues/1422) Added `AndWithThresholdRule`/`OrWithThres... | 7 | 5 | 0 | [{"id": "G0", "claim": "The lower(), upper() and middle() accessors wrap already-fluent NumericIndicator fields in a new NumericIndicator.of(...) on every call, which is redundant, allocates a new decorator per call and diverges from other facades; they should return the cached fields directly.", "category": "design", ... | null |
ta4j__ta4j__1443 | ta4j/ta4j | 1,443 | defect | 9c9904f8e80e0c71c7315d19193034cfa12f9d9b | 10270d2db70fdb625089a56ebf31703175b12d86 | Add custom ATR constructors to stop loss & stop gain rules | Fixes #1441.
Changes proposed in this pull request:
- Using custom ATR indicator is useful for performance gain as it uses RecursiveCachedIndicator ancestor inside, and might be cached and reused.
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGELOG.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5d8e4f33fd..d69c9c497d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@
- **Threshold-based boolean rules**: [#1422](https://github.com/ta4j/ta4j/issues/1422) Added `AndWithThresholdRule`/`OrWithThresholdRule` that also work backwards with a certain threshol... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add unit tests covering all the changed code and make sure they pass both before and after the changes, doubly so since these lines change behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Run the formatter on the changed... | null |
ta4j__ta4j__1469 | ta4j/ta4j | 1,469 | defect | 1a1bec933db078ed7249705b89eb3182d22a0c34 | 56b5b7e2e63249664fafee0fae7f51026d7347ad | Harden release preflight and indicator edge cases | Fixes #.
Changes proposed in this pull request:
- Harden release token preflight in `prepare-release.yml` by enforcing literal `repo`/`public_repo` scope checks and adding explicit 30-second GitHub API timeout handling.
- Strengthen indicator safety by guarding zero/NaN denominators in `DarkCloudCoverIndicator` and `P... | diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index ef0da96808..0f82cf90f2 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -77,7 +77,9 @@ jobs:
python3 - <<'PY'
import json
import os
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The shouldReturnFalseWhenDenominatorIsNaN test is not isolated from the zero-denominator path: its second bar sets openPrice(0), which can satisfy the zero-denominator guard by itself, so the test may pass even if NaN handling regresses; it should use a valid open price instead.", "category": "t... | null |
ta4j__ta4j__1475 | ta4j/ta4j | 1,475 | defect | cd071995a8d62f41259940718775f6ef6037b807 | f91736b90ed09ac3699f1c60e370c8ca81b6c675 | Add sample/population variance modes and preserve return metadata | - **Add explicit sample and population variance modes**
- **Propagate return representation in EnterAndHoldCriterion**
- **Update changelog for EnterAndHoldCriterion metadata propagation**
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
## Release Notes
* **New F... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b466b967a..ef9a031fa9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,8 @@
### Fixed
- **Release workflow drift guardrails**: Release maintainers now get near-immediate drift detection because `release-health.yml` runs on every `master` push and after `Publish... | 5 | 1 | 1 | [{"id": "G0", "claim": "Guard/normalize barCount before denominator math in the new SampleType constructors of CorrelationCoefficientIndicator and StandardErrorIndicator, because a barCount <= 0 is stored raw and yields non-positive observation counts and undefined covariance/variance/standard-error normalization.", "c... | null |
ta4j__ta4j__1478 | ta4j/ta4j | 1,478 | defect | bd4d2f0691c7bb6de218251b94c7bc0249ced6da | 04d82136ab2e3db9928bb8809289a3fb7ac5043d | Avoid deep recursion in NetMomentumIndicator | Changes proposed in this pull request:
- local cold-access check: a fresh `NetMomentumIndicator#getValue(4000)` on a 5,000-bar scratch series no longer overflows the stack and averaged about `15.4 ms` over 20 fresh indicators
- [x] I have run `scripts/run-full-build-quiet.sh` as the full verification equivalent of ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ca26b53de..a4425a83f7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@
- **`@since` policy is now explicit for contributors**: `.github/CONTRIBUTING.md` now clearly requires introducing release versions without `-SNAPSHOT` (for example `@since 0.22.4`), plu... | 2 | 2 | 2 | [{"id": "G0", "claim": "In testFarFirstAccessMatchesSequentialAccessOnPrunedSeries, expected may stay null if the assigning loop never runs and is then dereferenced unconditionally; add an assertion that beginIndex <= endIndex after reading the indices so the loop is guaranteed to run.", "category": "correctness", "ver... | null |
ta4j__ta4j__1480 | ta4j/ta4j | 1,480 | defect | 49f3f5f875826e96e1429b483226ed799af8229d | 1123fd9a79fd7c691a13045c2271e95a4a7e771f | Add Calmar and Omega ratio criteria | Changes proposed in this pull request:
- Add `CalmarRatioCriterion` for CAGR-over-max-drawdown evaluation using the existing return-series infrastructure.
- Add `OmegaRatioCriterion` for upside-versus-downside return asymmetry above a configurable minimum acceptable return.
- [x] I have run `mvn -B clean license:f... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index d4e83c7e8f..a6f7abfb27 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -110,14 +110,24 @@
- Added **MorningStarIndicator** and **EveningStarIndicator**
- Added **BullishKickerIndicator** and **BearishKickerIndicator**
- Added **PiercingIndicator** and **DarkCloudIndicat... | 2 | 1 | 1 | [{"id": "G0", "claim": "The changelog entries this PR adds to the 0.22.2 sections (PiercingLineIndicator/DarkCloudCoverIndicator, and per M005 also the build-script mvnw compatibility, README line-endings, and IndicatorUtils composition-reuse entries) duplicate entries already present in the 0.22.3 section, so they sho... | null |
ta4j__ta4j__1487 | ta4j/ta4j | 1,487 | defect | bb357ec3453cb7556e11ff9678fd630ad805c810 | 12b52b6c6d9c8f214ce64a04af79a7e5e349013c | Bugfix/issue 1484 volumeindicator stackoverflow | Fixes #1484 1484
Changes proposed in this pull request:
- **Volume indicator cold-cache warmup**: `VolumeIndicator` now uses recursive-indicator prefill protection, so requesting a late bar first no longer triggers a `StackOverflowError` during rolling-sum warmup (`#1484`).
- [X] I have run `mvn -B clean license... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 35ec17f402..1ff115e057 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@
- **Release automation now favors safer incremental bumps**: `release-scheduler.yml` and `semver-rules-override.txt` now drive explicit go/no-go decisions with `patch|minor` outputs only... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the manual try/catch around StackOverflowError in the VolumeIndicator cold-cache regression test so the call/assert fails naturally instead of catching Error and adding noise.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ta4j__ta4j__1488 | ta4j/ta4j | 1,488 | defect | bb357ec3453cb7556e11ff9678fd630ad805c810 | a2573e20be704a097372d7c135a52ed056aad781 | Bugfix/issue 1485 maximum drawdown window | Fixes #1485
Changes proposed in this pull request:
- **Windowed maximum drawdown now stays inside the requested analysis range**: `MaximumDrawdownCriterion#calculate(series, tradingRecord, window[, context])` now bounds its cash-flow work to the requested window instead of propagating across the full trailing serie... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 35ec17f402..05fd395386 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@
### Changed
- **Release workflows are now safer for release orchestration**: `cancel-in-progress` is disabled in `prepare-release.yml`, `publish-release.yml`, `github-release.yml`, `relea... | 1 | 1 | 0 | [{"id": "G0", "claim": "The sub-condition `ratioIndex >= windowStartIndex` in the windowed-ratio guard at CashFlow.java:257 is always true and should be removed, keeping the behavior-preserving condition `ratioIndex <= windowEndIndex && !(windowStartSeeded && ratioIndex == windowStartIndex)`.", "category": "maintainabi... | null |
ta4j__ta4j__208 | ta4j/ta4j | 208 | defect | c63d827ec06f01ae4044d4979d07be1e0937f1c9 | 725b56eae91bb0888a2baa7316b13b6104b550a3 | Update AnalysisCriterion to Num | Fixes #186 .
Changes proposed in this pull request:
- Fixed requirements as mentioned in #186
- Use Num in AnalysisCriterion
- But keep Criterion parameters as primitives
- [x] added an entry to the unreleased section of `CHANGES.md`
Notes:
* There was 1 test, namely NumberOfTradesTest::calculateWithOne... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1c62d1170a..b3ef3270bd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Fixed
### Changed
- **ALL INDICATORS**: `Decimal` replaced by `Num`.
+- **ALL CRITERION**: Calculat... | 9 | 8 | 2 | [{"id": "G0", "claim": "Combining the three tradedAmount statements into one chained Num expression computes the exit order cost from the wrong traded amount, so LinearTransactionCostCriterion returns wrong values, and the test's expected constant was replaced with the output of the buggy logic (834.5492 instead of the... | null |
ta4j__ta4j__222 | ta4j/ta4j | 222 | defect | 0204b38e3ab6b049c22e2e642e0bc0426aa77fce | 88e17d4d50d3c234a6d81235d87fbf7515223c6c | Fix wrong indexing in Indicator.toDouble() | Changes proposed in this pull request:
- Fix wrong indexing in `Indicator.toDouble()`.
- Add a test for it and AssertJ and Mockito for easy tests.
- [X] added an entry to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 22ce907c1c..c6d5037bf6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,8 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Fixed
+- Fixed wrong indexing in `Indicator.toDouble()`.
+
### Changed
- **ALL INDICATORS**: `Dec... | 4 | 1 | 1 | [{"id": "G0", "claim": "Adding the AssertJ and Mockito test dependencies without consultation will not be accepted and they are not needed for this PR; use existing functions of TestUtils or the existing junit.junit dependency instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
ta4j__ta4j__250 | ta4j/ta4j | 250 | defect | c628e1c3364623b399c91caf1948dedb68433aff | 7fac0f7f1caa04a540c9b9392f888bf880cc8736 | added trailing stop loss rule | Changes proposed in this pull request:
add a trailing stop-loss rule ( similar to StopLossRule )
added an entry to the unreleased section of CHANGES.md
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index db8f8b36ee..6f3c017b88 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **BollingerBandWidthIndicator**: added missing constructor documentation.
- **BollingerBandsLowerIndic... | 3 | 2 | 2 | [{"id": "G0", "claim": "The rule has a flaw when it is combined with other rules (the author is working on a fix).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Trade#equals should perhaps throw a ClassCastException when the compared object is not ... | null |
ta4j__ta4j__276 | ta4j/ta4j | 276 | defect | 72cd9b9e3a647ac6248219d965bf399b5bdfb3ad | 0f145d7804df995a2619071f57c3f4f79efaff80 | remove doubles | Fixes #271 #217 .
Changes proposed in this pull request:
- <*>Indicator: store `double` params as `Nums`, remove `double` math
- <*>Indicator: replace `Math.sqrt()` with `Num.sqrt()`
- ConvergenceDivergenceIndicator: spelling
- PeriodicalGrowthRateIndicator: utilize ONE, return value of `Num`
- IIIIndicator: va... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 25a8d40506..ca19274ee8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Fixed
- **TradingBotOnMovingTimeSeries**: fixed calculations and ArithmeticException Overflow
- **F... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Eclipse formatter has broken the indentation in some of the changed files, and the original mixed spaces-and-tabs should be restored before merge.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ParseException catc... | null |
ta4j__ta4j__294 | ta4j/ta4j | 294 | defect | 60259195df160d664945d71d5676b68d4aa53d03 | da27face77b337db9b18a6b399fd6859f55772be | Fixes #287 Implemented a way to find the best result for multiple strategies by submitting a range of numbers while backtesting | Fixes #287 Implemented a way to find the best result for multiple strategies by submitting a range of numbers while backtesting
- [x] added an entry to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6dd7444c13..84b5855687 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,6 +47,8 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **BollingerBandsMiddleIndicator**: added missing constructor documentation.
- **TrailingStopLossRule**... | 18 | 13 | 3 | [{"id": "G0", "claim": "Please add javadoc to the new classes and to every method that is not simple and self-evident.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The strategyName field and its constructor parameter are redundant with the resul... | null |
ta4j__ta4j__329 | ta4j/ta4j | 329 | defect | 039e0caa1af54f0a7fc37a27bdb348d3ab9f8e2b | 6118deda745aec4740199bd38cfbeef8b4855701 | FeatureExtension Value At Risk, Expected Shortfall | Changes proposed in this pull request:
- Added class to keep track of the returns of a strategy (log and arithmetic)
- Added Value At Risk as an analysis criterion
- Added Expected Shortfall as an analysis criterion
- [x ] added an entry to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 06769d4b6a..df67e5fbf4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,9 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Changed
### Added
+- :tada: **Enhancement** Implemented Value at Risk Analysis Criterion
+- :tad... | 9 | 8 | 2 | [{"id": "G0", "claim": "Performance would be better if the unit Num (numOf(1)) is stored in a class field instead of converting an int to Num in every return calculation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Returns should take the numFunc... | null |
ta4j__ta4j__335 | ta4j/ta4j | 335 | defect | f298f13d8c9649d6a8a0eda2bc7e59ceba6064a9 | 733133b1e42e7b84c468f7ff4ec07165cc5f7df4 | Feature/backtesting improvements | Changes proposed in this pull request:
- Redesigned backtesing in ta4j
| diff --git a/ta4j-core/src/main/java/org/ta4j/core/Backtest.java b/ta4j-core/src/main/java/org/ta4j/core/Backtest.java
deleted file mode 100644
index bc3fb94b49..0000000000
--- a/ta4j-core/src/main/java/org/ta4j/core/Backtest.java
+++ /dev/null
@@ -1,62 +0,0 @@
-package org.ta4j.core;
-
-import org.ta4j.core.num.Num;
-... | 7 | 7 | 0 | [{"id": "G0", "claim": "The per-file MIT license headers copied into the new classes are redundant and should be removed, since the repository-wide LICENSE file is sufficient.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BarCriteria lacks java... | null |
ta4j__ta4j__421 | ta4j/ta4j | 421 | defect | 93f468d9a2bc2b64c83572acfbbf092197d4aca5 | eeee63409c13291c6dc664cf5069a533e2475a40 | Bar aggregator | Changes proposed in this pull request:
- Added BarAggregator and TimeSeriesAggregator to provide functionality proposed by @nimo23 in https://github.com/ta4j/ta4j/pull/420, but fixed issues (like sonar issue, NPE etc.). Provided solution in this PR covers object oriented approach.
- [X] added an entry to the unrele... | diff --git a/AUTHORS b/AUTHORS
index 16ce86b361..c1a1c24e6d 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -15,3 +15,4 @@ Contributors
team172011 (Simon-Justus Wimmer)
nimo23
edlins
+ milczarekIT (Bartosz Milczarek)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 922196897a..4918b15fae 100644
--- a/CHANGELOG.md... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment in the new test upscaledTo10DayBarsNotOnlyFinalBars should be changed to `// must be 2 bars` to match the expected two bars.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ta4j__ta4j__449 | ta4j/ta4j | 449 | defect | 36408cf0b586befc5d2b0623860a1ca5cac1f791 | 0b1e683377c457e59c8507b2645c4de52ceb5dd7 | Handle NaN from CloseLocationValueIndicator as zero | Fixes #375.
Changes proposed in this pull request:
- CloseLocationValueIndicator returns zero instead of NaN if high==low
- [x] added an entry to the unreleased section of `CHANGES.md`
| diff --git a/ta4j-core/src/main/java/org/ta4j/core/indicators/helpers/CloseLocationValueIndicator.java b/ta4j-core/src/main/java/org/ta4j/core/indicators/helpers/CloseLocationValueIndicator.java
index 0a8b5e7547..70eefc3a4f 100644
--- a/ta4j-core/src/main/java/org/ta4j/core/indicators/helpers/CloseLocationValueIndicato... | 4 | 4 | 2 | [{"id": "G0", "claim": "Fix the CloseLocationValueIndicator itself to return 0 instead of NaN when high == low, rather than having the PR handle NaN downstream in AccumulationDistributionIndicator and ChaikinMoneyFlowIndicator.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
ta4j__ta4j__464 | ta4j/ta4j | 464 | defect | 3efc849da55d86d184e75496013bf56f44ec4ded | e9997ee973b2173de97c2eeb71098f249cebf04d | Added DayOfWeekRule, TimeRangeRule and DateTimeIndicator | Changes proposed in this pull request:
- Added DateTimeIndicator a new Indicator for dates.
- Added DayOfWeekRule for specifying days of the week to trade.
- Added TimeRangeRule for trading within time ranges. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e888bb401..a50174873a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,7 +47,9 @@ for currentStopLossLimitActivation
- :tada: **Enhancement** Add constructors with parameters to allow custom implementation of ReportGenerators in BacktestExecutor
- :tada: **Enhancemen... | 7 | 7 | 1 | [{"id": "G0", "claim": "The fields of the new DateTimeIndicator, DayOfWeekRule and TimeRangeRule (including TimeRange's from/to) should be declared final.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DateTimeIndicator should provide an additio... | null |
ta4j__ta4j__535 | ta4j/ta4j | 535 | defect | 7a86a9172e7ad28c401a66684c23e26027524ab0 | b2318391c2ad7789394e57dc97b9938b29eacaba | Fixed return calculations on short trades. | Changes proposed in this pull request:
- Fixed TotalProfitCriterion calculations on short trades.
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
The previous return on short trades was based on the exit price, this is incorrect. It should still be based on the entry... | diff --git a/AUTHORS b/AUTHORS
index c1a1c24e6d..68b1e55194 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -16,3 +16,4 @@ Contributors
nimo23
edlins
milczarekIT (Bartosz Milczarek)
+ kennethjor (Kenneth Jørgensen)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd4bae0662..c987d90a82 100644
--- a/CHANGELOG.md
+... | 4 | 3 | 3 | [{"id": "G0", "claim": "TotalProfitCriterion's profit calculation based on the bars' close prices is incorrect; it should use the entry/exit order prices instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten Trade.getGrossReturn() is... | null |
ta4j__ta4j__616 | ta4j/ta4j | 616 | defect | dcad932d56a6f84dcbb80dd873af7bb5a1379eb9 | 918943ded7fc144806f2d6bf151ef7f5d4208d25 | Simplified TransformIndicator, remove redundant indicators | - Remove redundant indicators: AbsoluteIndicator and MultiplierIndicator
-> use DecimalTransformIndicator
- [x] added an entry with related ticket number(s) to the unreleased
section of `CHANGES.md`
| diff --git a/ta4j-core/src/main/java/org/ta4j/core/indicators/helpers/AbsoluteIndicator.java b/ta4j-core/src/main/java/org/ta4j/core/indicators/helpers/AbsoluteIndicator.java
deleted file mode 100644
index 209e62e284..0000000000
--- a/ta4j-core/src/main/java/org/ta4j/core/indicators/helpers/AbsoluteIndicator.java
+++ /... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request must add an entry to CHANGES.md describing its changes.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new CHANGELOG.md entry should say the removed indicators were 'replaced by TransformIndicator.' ins... | null |
ta4j__ta4j__712 | ta4j/ta4j | 712 | defect | f35c68e81ad0f0f94ed7463a8c4718265372ce88 | 6b1d3864576ed970745b1a593481147dbdf74d1e | Add PVOIndicator to Develop | Implements #711 .
Changes proposed in this pull request:
- Adding new Indicator called PVOIndicator.
- Extends existing PPOIndicator and just sends a super -> VolumeIndicator
| diff --git a/ta4j-core/src/main/java/org/ta4j/core/indicators/PVOIndicator.java b/ta4j-core/src/main/java/org/ta4j/core/indicators/PVOIndicator.java
new file mode 100644
index 0000000000..7d0199c0d1
--- /dev/null
+++ b/ta4j-core/src/main/java/org/ta4j/core/indicators/PVOIndicator.java
@@ -0,0 +1,34 @@
+package org.ta4j... | 3 | 3 | 0 | [{"id": "G0", "claim": "The pull request should add an entry for the new PVOIndicator to CHANGELOG.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated PVO javadoc block inside the PVOIndicator class should be removed.", "category": "... | null |
ta4j__ta4j__718 | ta4j/ta4j | 718 | defect | 63dd18e5d69716b18c98a77464d54ca36c40bdec | f1beef0953cbd4e06e961d800e12bade42b5644e | Issue #716: Added two new indicators. | Added two new indicators and related tests:
+ KSTIndicator
+ DistanceFromMAIndicator | diff --git a/CHANGELOG.md b/CHANGELOG.md
index adf494acb3..607ab0c618 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -64,6 +64,8 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **Enhancement** Added BarSeriesUtils: common helpers and shortcuts for BarSeries methods.
- **Enhancem... | 3 | 3 | 1 | [{"id": "G0", "claim": "The supportedMovingAverages field should be made static and its data structure changed to Set<Class>.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The constant multipliers numOf(1), numOf(2), numOf(3), numOf(4) should be held in... | null |
ta4j__ta4j__724 | ta4j/ta4j | 724 | defect | 4dc768da1f38a2a667dfc54ff5c2ed82d7e5bfb8 | 97df71b6d2202fe112c734d3dd93f8b0985fb36c | Exposed both EMAs in MACD indicator to be usable in strategy | Fixes #.
Changes proposed in this pull request:
- Exposed both EMAs in MACD indicator to be usable in strategy
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2684af16e0..3f2860c988 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -78,6 +78,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- :tada: **Enhancement** added **`GrossLossCriterion.class`**.
- :tada: **Enhancement** added **`NetProf... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the serialVersionUID field, since the project does not use serialVersionUID.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ta4j__ta4j__726 | ta4j/ta4j | 726 | defect | 4dc768da1f38a2a667dfc54ff5c2ed82d7e5bfb8 | 9d8191fa1ca15cd12709551098795345024f77da | Added an example Gson serialization to store or load a given Series t… | …o json
Fixes #.
Changes proposed in this pull request:
- added an example Gson de-/serialization for BarSeries
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2684af16e0..db2cd16c43 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -78,6 +78,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- :tada: **Enhancement** added **`GrossLossCriterion.class`**.
- :tada: **Enhancement** added **`NetProf... | 3 | 2 | 1 | [{"id": "G0", "claim": "The Gson wrapper classes read numbers from the JSON file as doubles instead of BigDecimals, so a loaded series can end up with DoubleNum bars where DecimalNum is expected and the test fails when run with the others; the author asks whether to allow mixed Num implementations (fixing the tests) or... | null |
ta4j__ta4j__734 | ta4j/ta4j | 734 | defect | 959147cad87818bc4e3c93675e39c61af0cc7900 | 283ce8fd54d327ad97466788555ae3539c26806f | Add common static Num's | Changes proposed in this pull request:
- provide common static Num's for `DecimalNum` and `DoubleNum`
- provide access to those Num's in `Num`-Interface
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index b6f1b1ff6c..81143bf244 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -89,6 +89,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- :tada: **Enhancement** added Position#hasProfit.
- :tada: **Enhancement** added Position#hasLoss.
- :... | 2 | 2 | 2 | [{"id": "G0", "claim": "The hardcoded NumOf dispatch methods depend on the currently available Num implementations: if the user uses their own or another Num implementation, everything calculated through NumOf would break because NumOf would always return NaN.", "category": "correctness", "verdict": "supported", "prior... | null |
ta4j__ta4j__739 | ta4j/ta4j | 739 | defect | c15464c7578ed313c18e14aee1176be62914c72f | 681c58263324559f8e48e87bbdac7f7bca367289 | Num: remove serializable | Changes proposed in this pull request:
- remove `Serializable` in `Num.class`
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
It does not make any sense to have `Serializable` in Num (and its dedicated implementations). It's the same as if I would add Serializable t... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 799896d500..65e120c99b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -129,6 +129,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **PrecisionNum**: improve performance for methods isZero/isPositive/isPositiveOrZero/isNegative/isNeg... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changelog entry \"**Num** removed Serializable\" was added under the wrong release heading and should be moved to the correct one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ta4j__ta4j__835 | ta4j/ta4j | 835 | defect | 125fae444c87528ed04c04a7b8480caa447da36d | b7d5c3496a1a91f964c2a6b70b193a162bfff5e1 | TradingRecord: add startIndex/endIndex | Changes proposed in this pull request:
- added `TradingRecord#getStartIndex()` to track the start of the recording
- added `TradingRecord#getEndIndex()` to track the end of the recording
- (includes some minor code cleanups (javadoc, replaced IllegalArgumentException with `Objects.requireNonNull`))
to correct th... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b2716c85c2..1e6fa44147 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **MinusDMIndicator** moved to adx-package
- `analysis/criterion`-package moved to root
- `cost`-packa... | 2 | 2 | 1 | [{"id": "G0", "claim": "Criteria that calculate over the whole barSeries (series.getBeginIndex() to series.getEndIndex()) are unaware of a tradingRecord run only within startIndex and endIndex and return misleading values, so the TradingRecord interface must expose getStartIndex()/getEndIndex() (set in BarSeriesManager... | null |
ta4j__ta4j__930 | ta4j/ta4j | 930 | defect | 457136cb81038b8dc06ef666e13701f6acb0d765 | 0a684c8e76901eb14ab4a3267303cd81c24433ce | SuperTrend Indicator implementation | Fixes #923
Changes proposed in this pull request:
- Added code for SuperTrendIndicator
- Added unit tests.
- Updated CHANGELOG.md
- [x] added an entry with related ticket number(s) to the unreleased section of `CHANGES.md`
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b66eb3495..0041f6c0aa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,7 +23,9 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
### Added
- added `TradingRecord.getStartIndex()` and `TradingRecord.getEndIndex()` to track start and... | 12 | 11 | 5 | [{"id": "G0", "claim": "Rename LowerBandIndicator to SuperTrendLowerBandIndicator because several indicators have lower bands and the bare name is ambiguous without checking the package.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename Uppe... | null |
ta4j__ta4j__960 | ta4j/ta4j | 960 | defect | 0c83d0ea6122d4f200f61483085c5288913d766e | d47c97cbbf7b87ac7bfe61104001755f0b0d7402 | Criteria: add lessBetter to dedicated criteria | Fixes https://github.com/ta4j/ta4j/issues/957.
Changes proposed in this pull request:
- added "lessBetter"-property for **AverageCriterion**
- added "lessBetter"-property for **RelativeStandardDeviation**
- added "lessBetter"-property for **StandardDeviationCriterion**
- added "lessBetter"-property for **Standar... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 981315e5bf..14f9baa94c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,12 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- added `Indicator.getUnstableBars()`
- added `TransformIndicator.pow()`
- added javadoc improvements ... | 5 | 2 | 1 | [{"id": "G0", "claim": "Consider using an int for the lessBetter variable (for instance 0 or -1) and comparing the criterion values with criterionValue1.compareTo(criterionValue2) < lessBetter instead of a boolean with a ternary.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"... | null |
ta4j__ta4j__994 | ta4j/ta4j | 994 | defect | 0c604253f09601849a9fe4ad0e30ae1301957f83 | fe2d6599d7c5535ff92f3fb1f433ec7a01342d2e | Feature/slade wilson indicators tsv | Changes proposed in this pull request:
- **PriceVariationIndicator** renamed to **ClosePriceRatioIndicator** for consistency with new **ClosePriceDifferenceIndicator**
- added **ClosePriceDifferenceIndicator**
- added **TimeSegmentedVolumeIndicator**
- [X] added an entry with related ticket number(s) to the unrel... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6d97941d2a..c9d3cae931 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@ Changelog for `ta4j`, roughly following [keepachangelog.com](http://keepachangel
- **BacktestExecutor** evaluates strategies in parallel when possible
- **CachedIndicator** synchronize ... | 3 | 2 | 0 | [{"id": "G0", "claim": "ClosePriceDifferenceIndicator should have a Javadoc description on its class, e.g. \"The difference between the close price and the previous close price.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TimeSegmentedVol... | null |
tabatkins__railroad-diagrams__105 | tabatkins/railroad-diagrams | 105 | defect | b676d3b5cc017bb43739dd44b192d021c4fb267b | 536586c0f48204f3576143c44754d6bb8ea3108a | Fix Issue 94 for Python | This PR adds support to the Python port for generating text-mode diagrams as an alternative to SVG. The diagrams can be drawn with either pure-ASCII or Unicode (U+25xx) characters, or with any characters of the user's choosing. I have compared the SVG and text-mode output for all `test.py` test cases visually, and th... | diff --git a/README-py.md b/README-py.md
index a630e43..012c95d 100644
--- a/README-py.md
+++ b/README-py.md
@@ -13,7 +13,8 @@ and for more non-Python-specific information.)
Diagrams
--------
-Constructing a diagram is a set of nested calls:
+Constructing a diagram is a set of nested calls.
+To create an SVG diagra... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added comment stating that f-strings could not contain \\n until Python 3.12 is factually wrong, since \\n has always been valid in f-strings.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tableau__server-client-python__1085 | tableau/server-client-python | 1,085 | defect | 1eeaca8709f548b73d7306a1251322c784e656c8 | 47cbe61494df47dcce9fe6b7cb3b5892c04fa887 | adding sample file for favorites, issue #737 | favorites_item.py and favorites_endpoint.py may be updated
these method examples were made prior to any updates | diff --git a/samples/explore_favorites.py b/samples/explore_favorites.py
new file mode 100644
index 000000000..1989d1c90
--- /dev/null
+++ b/samples/explore_favorites.py
@@ -0,0 +1,158 @@
+# This script demonstrates how to get all favorites, or add/delete a favorite.
+# favorites_item and favorites_endpoint may be upd... | 3 | 3 | 1 | [{"id": "G0", "claim": "Remove the two stale header comment lines ('# favorites_item and favorites_endpoint may be updated' and '# these method examples were made prior to any updates to the favorites code') from samples/explore_favorites.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s... | null |
tableau__server-client-python__1115 | tableau/server-client-python | 1,115 | defect | f653e15b582ae2ea7fc76f423f178d430e2a30ed | c80d3e9842ca210cce93466c16ff9848f555a24c | Jac/smoke tests | - cleaned up the client version
- made it available to the calling program and *actually* in the headers
- Added a smoke test action for monitoring what's on PyPi, and a sample smoke test to help people debug | diff --git a/.github/workflows/pypi-smoke-tests.yml b/.github/workflows/pypi-smoke-tests.yml
new file mode 100644
index 000000000..5f968f48d
--- /dev/null
+++ b/.github/workflows/pypi-smoke-tests.yml
@@ -0,0 +1,36 @@
+# This workflow will install TSC from pypi and validate that it runs. For more information see:
+# htt... | 1 | 1 | 0 | [{"id": "G0", "claim": "The install step is named 'pip install Tabcmd' when the workflow installs tableauserverclient, so the name should refer to TSC instead of Tabcmd.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tableau__server-client-python__1125 | tableau/server-client-python | 1,125 | defect | a203a04f28ad7970bdf501fd8a4ade80adc1a587 | cc9f70497fb471fa53b569c774586ea3474d102a | fix behavior when url has no protocol | Defaulting to http if no protocol is entered, since that is the behavior we expect in tabcmd currently.
Manually handle a redirect on login, so we don't send a GET request that fails. | diff --git a/tableauserverclient/server/endpoint/auth_endpoint.py b/tableauserverclient/server/endpoint/auth_endpoint.py
index 6baf399ed..68d75eaa8 100644
--- a/tableauserverclient/server/endpoint/auth_endpoint.py
+++ b/tableauserverclient/server/endpoint/auth_endpoint.py
@@ -28,7 +28,18 @@ def baseurl(self):
def ... | 4 | 2 | 2 | [{"id": "G0", "claim": "Looking up the redirect target with server_response.headers[\"Location\"] may be sensitive to the casing of the header name.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The redirect-follow-up POST could itself receive a redi... | null |
tableau__server-client-python__130 | tableau/server-client-python | 130 | defect | aa56523f89ec2374eefffc5d7b6aeca4349ca66b | 2bee69bb46b7a2d0b5f40899f445733e5143dd69 | 101 unit test coverage sort.py | First attempt at tests for sort.py. I commented out my test for test_filter_combo, since it would intermittently fail because of the ordering of the two filters, so any advice on how to handle this particular issue (or to just bin the test) would be appreciated. | diff --git a/docs/_includes/analytics.html b/docs/_includes/analytics.html
new file mode 100644
index 000000000..0cdbad25d
--- /dev/null
+++ b/docs/_includes/analytics.html
@@ -0,0 +1,7 @@
+<!-- Google Tag Manager -->
+<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+new Date().getTime(),event:'gtm.j... | 1 | 1 | 1 | [{"id": "G0", "claim": "test_filter_combo is left commented out because the combined filter ordering is nondeterministic and, once uncommented, the test fails on Python 3.6; it should be uncommented and rebased on top of #131's deterministic-order changes.", "category": "testing", "verdict": "supported", "priority": "P... | null |
tableau__server-client-python__1462 | tableau/server-client-python | 1,462 | defect | fad98bd4fca42d22965d855abb8ae0454b9e0a80 | 9c6cc8fc6c15c947611436e9e212f05feeba5c0b | Add support for all types of monthly repeating schedules | This should fix handling all of the "monthly" schedule types now; see details in #1358 and #1369. | diff --git a/tableauserverclient/models/interval_item.py b/tableauserverclient/models/interval_item.py
index 3ee1fee08..2c7e9c6a4 100644
--- a/tableauserverclient/models/interval_item.py
+++ b/tableauserverclient/models/interval_item.py
@@ -246,21 +246,35 @@ def interval(self):
@interval.setter
def interval... | 1 | 1 | 1 | [{"id": "G0", "claim": "The 'Invalid monthly numeric frequency interval' error can never surface because the ValueError raised inside the try is caught and consumed by the except below, and validation should be reworked (e.g. a type check like isinstance/isdigit, or explicitly listing the valid values) instead of using... | null |
tableau__server-client-python__203 | tableau/server-client-python | 203 | defect | 171eaae29e60efeaedb85f14b19996af85c6a0de | 734abfb6e98800665cc26ed68a57e13b4506525a | Include extract | This is a PR to change the parameter to include the extract from no_extract to include_extract. The logic changes from the default `no_extract=False` to `include_extract=True`. There is logic to convert the no_extract into the include_extract parameter and warn the user if it is used. | diff --git a/docs/_includes/docs_menu.html b/docs/_includes/docs_menu.html
index 3f221572d..104a1f5b3 100644
--- a/docs/_includes/docs_menu.html
+++ b/docs/_includes/docs_menu.html
@@ -24,9 +24,50 @@
</li>
<li>
<a href="{{ site.baseurl }}/docs/api-ref">API Reference</a>
+ <ul>
... | 4 | 3 | 0 | [{"id": "G0", "claim": "The download guard in datasources_endpoint.py can be simplified to `if not include_extract`, since the `no_extract or` clause is redundant once include_extract is derived from no_extract.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
tableau__server-client-python__204 | tableau/server-client-python | 204 | defect | 9ac90e011eff834baef34100ee9a6b7d83e27fc5 | 49705571cb6562982f3e45d26ce958a6533236b6 | Auto Paging for Users in Groups | Subsumes #147 because the git history got all weird.
I still need to make the tests work properly, but a manual test indicates this all works well.
/cc @cmtoomey who may want to try this out | diff --git a/tableauserverclient/models/group_item.py b/tableauserverclient/models/group_item.py
index c0014eac0..ab627b569 100644
--- a/tableauserverclient/models/group_item.py
+++ b/tableauserverclient/models/group_item.py
@@ -33,7 +33,8 @@ def users(self):
if self._users is None:
error = "Group... | 3 | 3 | 0 | [{"id": "G0", "claim": "The try/except block reading `group_item.users` inside `remove_user` is now unnecessary because every call creates a new Pager, so remove it from the call entirely (or return the list from `add_user` instead).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
tableau__server-client-python__378 | tableau/server-client-python | 378 | defect | c50e0805ec5466e86855f9b3490ffc3f66ffb655 | 8f576462a929193b453397afd8c96a386a9e8dc2 | Add materialized views settings support for workbooks/sites | 1. Added materialized views settings to workbook/site item class
2. Added a sample python script to enable materialized views for workbooks/sites | diff --git a/samples/materialize_workbooks.py b/samples/materialize_workbooks.py
new file mode 100644
index 000000000..f1d527e0d
--- /dev/null
+++ b/samples/materialize_workbooks.py
@@ -0,0 +1,215 @@
+import argparse
+import getpass
+import logging
+import tableauserverclient as TSC
+from collections import defaultdict... | 4 | 4 | 3 | [{"id": "G0", "claim": "Even when only one workbook matches the name, if a project path is given the script should still verify that the path matches the workbook name given.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The get_by_content_url endp... | null |
tableau__server-client-python__445 | tableau/server-client-python | 445 | defect | 122fe1a9991658686dbf9001f16e0b0c5b5f537c | a1c68e58ad395d82f389415e348e954df00c3fdb | External Content Support (Databases and Tables) | ~This is a work in progress, and is based on the permissions work, so this PR will fail against dev.~
~Still, here's a preview of the content types coming. They're pretty standard, following existing patterns.~
~The one thing that's a bit new, is I took some pieces of @shinchris 's refactor for objects that have ... | diff --git a/tableauserverclient/__init__.py b/tableauserverclient/__init__.py
index d1b8a4e74..d435962b1 100644
--- a/tableauserverclient/__init__.py
+++ b/tableauserverclient/__init__.py
@@ -1,9 +1,9 @@
from .namespace import NEW_NAMESPACE as DEFAULT_NAMESPACE
from .models import ConnectionCredentials, ConnectionIt... | 4 | 3 | 1 | [{"id": "G0", "claim": "Properties of the new model classes that are only assigned when a server response is parsed (e.g. ColumnItem.remote_type, and DatabaseItem's certified, port, metadata_type and the ones below it) should also be defined in the constructor, to keep the pattern consistent with the other models and a... | null |
tableau__server-client-python__551 | tableau/server-client-python | 551 | defect | a5caa7c60e2a47adfdee166fba534256dec43592 | 3f570229a7e754fa2db675fa0cef9ff3fdc34a85 | Add warnings when adding workbook to schedule | The recent changes in the server side code may add warnings when add a workbook to a schedule. Here is an example response with such warnings:
<tsResponse>
<warnings>
<warning message="Workbook with id 29,354 uses only embedded extract(s) and does not need explicit scheduling for acceleration. It was e... | diff --git a/tableauserverclient/server/endpoint/schedules_endpoint.py b/tableauserverclient/server/endpoint/schedules_endpoint.py
index ccba83565..5b15abc49 100644
--- a/tableauserverclient/server/endpoint/schedules_endpoint.py
+++ b/tableauserverclient/server/endpoint/schedules_endpoint.py
@@ -1,3 +1,4 @@
+import xml... | 1 | 1 | 0 | [{"id": "G0", "claim": "The read_warnings helper should be moved out of the Schedules endpoint class (ideally factored out so it can be shared with other REST API calls).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tableau__server-client-python__635 | tableau/server-client-python | 635 | defect | 7409d3038df9eb93f19c31102a79ee2b4160ac3e | 3141242b850f12b4bafff6dd0f907808b7bba047 | Adds in maxage param to csv and pdf export options | Closing #530 and opening this one.
This PR is to add maxage params to the csv and pdf export options. | diff --git a/tableauserverclient/models/property_decorators.py b/tableauserverclient/models/property_decorators.py
index 2a47c889a..f1625d112 100644
--- a/tableauserverclient/models/property_decorators.py
+++ b/tableauserverclient/models/property_decorators.py
@@ -84,7 +84,7 @@ def property_is_int(range, allowed=None):... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use a named parameter instead of the positional `1` so the test reads clearly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tableau__server-client-python__686 | tableau/server-client-python | 686 | defect | 168489cad474a03e4ef58a841b6b0877ad6eb50a | 66954912699c9e510d09aad9fa516bc383926267 | Removes manual query param generation | Removing manual query param generation in req_options, and delegating that step to the requests library.
By doing this, the requests library will encode the url for us, fixing #418, #516, #578.
Some endpoints have their own query params added, like workbook publish overwrite flag. The requests library will append n... | diff --git a/tableauserverclient/server/endpoint/endpoint.py b/tableauserverclient/server/endpoint/endpoint.py
index 5e48b5cc2..eee9cb16c 100644
--- a/tableauserverclient/server/endpoint/endpoint.py
+++ b/tableauserverclient/server/endpoint/endpoint.py
@@ -41,9 +41,9 @@ def _safe_to_log(server_response):
def _ma... | 1 | 1 | 1 | [{"id": "G0", "claim": "The removed public method apply_query_params should be preserved (throwing a deprecation warning and calling get_query_params), or at minimum emit a deprecation warning instead of being deleted outright.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tableau__server-client-python__69 | tableau/server-client-python | 69 | defect | 4f4112b4f4aac49a9e906b10c8c5870d095c8468 | 126587ce4010fe42d16f71237f26cc2d13745bd7 | Bugfix 66 add create group basic | @bryantbhowell - I think you are looking for some ability to create groups. Groups are handled in two separate ways even though it's the same create endpoint in the server.
This handles creating basic groups, but AD group imports are a bit more complicated (because they are done in the background). Do you need AD im... | diff --git a/samples/create_group.py b/samples/create_group.py
new file mode 100644
index 000000000..3b7892fdf
--- /dev/null
+++ b/samples/create_group.py
@@ -0,0 +1,42 @@
+####
+# This script demonstrates how to create groups using the Tableau
+# Server Client.
+#
+# To run the script, you must have installed Python 2... | 4 | 2 | 0 | [{"id": "G0", "claim": "test/assets/group_create_async.xml is added even though nothing currently lets users trigger an async import, so the reviewer asks whether it is there only for future tests.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
tableau__server-client-python__777 | tableau/server-client-python | 777 | defect | a81562da2d051c1ade279434ca1dcc0545146c08 | d3645637d9fecbcb4178ceb2bb4ab55f00e5b8d9 | Update site properties and functions | Tableau server 2020.3 api version 3.9 makes available several configuration options for the site endpoint. The changes here are meant to align the site object and its functions with the api.
Linked to Issue https://github.com/tableau/server-client-python/issues/776 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e6be649b..85dc8a702 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.14.1 (9 Dec 2020)
+* Fixed filter query issue for server version below 2020.1 (#745)
+* Fixed large workbook/datasource publish issue (#757)
+
## 0.14.0 (6 Nov 2020)
* Added django-st... | 8 | 8 | 7 | [{"id": "G0", "claim": "The parser reads custom_subscription_email from the wrong XML attribute ('customSubscriptionEmailEnabled' instead of 'customSubscriptionEmail').", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The parser reads custom_subscript... | null |
tachyon-zcash__ragu__101 | tachyon-zcash/ragu | 101 | defect | 24913008deb6dc9b3b6dd50fb301b5c06cd9a9e8 | a9f7262cde3cbb7a6c2c48390c4e4d5bda08608d | feat: mesh linear constraint keying | references https://github.com/tachyon-zcash/ragu/issues/78
Introduces a placeholder linear constraint `a_0 - c_0 * K = 0` to the circuit polynomial `s(X, Y)` to prevent circuit-polynomial backdooring. Supplemental unit tests related to circuit synthesis were implemented. | diff --git a/crates/ragu_circuits/Cargo.toml b/crates/ragu_circuits/Cargo.toml
index a53002d6f..ff2d00572 100644
--- a/crates/ragu_circuits/Cargo.toml
+++ b/crates/ragu_circuits/Cargo.toml
@@ -28,6 +28,7 @@ ff = { workspace = true }
group = { workspace = true }
ragu_core = { path = "../ragu_core", version = "0.0.0" }... | 7 | 6 | 2 | [{"id": "G0", "claim": "The `k` correction parameter added to the StageObject circuit-object methods is currently unused, so the circuit polynomials do not yet account for the mesh key.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`compute_mesh_ke... | null |
tachyon-zcash__ragu__167 | tachyon-zcash/ragu | 167 | defect | 7c5213931069befceb659bb0cf3d1cbb2032278d | 8874c9acaad7229a66dd68eff5789da39869f6ce | chore: add justfile and fix clippy | Added a `justfile` (which I personal use extensively and find it a great replacement for makefile).
https://just.systems/man/en/
for now, the most useful recipe for us are
- `just book watch` or `just book build` (which ensure the **correct** version of mdbook and preprocessors is downloaded and start live-servin... | diff --git a/crates/ragu_arithmetic/src/domain.rs b/crates/ragu_arithmetic/src/domain.rs
index d51885f33..5d3a762f2 100644
--- a/crates/ragu_arithmetic/src/domain.rs
+++ b/crates/ragu_arithmetic/src/domain.rs
@@ -207,8 +207,8 @@ fn test_fft() {
{
let mut p = F::ONE;
- for i in 0..params.n {
- ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `_install_binstall` recipe added in the justfile is unused.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`ci-local` only checks and never modifies; standalone recipes for the write operations (`cargo test --all`, `c... | null |
tachyon-zcash__ragu__181 | tachyon-zcash/ragu | 181 | defect | 4d38533e6d0d08aa18ee82d7b821b5bdbc617897 | d8e45fcdd15f77227484d82a9f866aedb8010116 | pcd: structural improvements | Incremental implementation representing a minimal working skeleton that:
- Sets up the staging infrastructure
- Implements $w$ derivation correctly
- Proves `circuit_c` satisfies its constraint equation | diff --git a/crates/ragu_pcd/src/circuits.rs b/crates/ragu_pcd/src/circuits.rs
deleted file mode 100644
index 200345e47..000000000
--- a/crates/ragu_pcd/src/circuits.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-pub mod dummy;
-
-pub const DUMMY_CIRCUIT_ID: usize = 0;
-
-pub fn internal_circuit_index(num_application_steps: usize, ... | 8 | 3 | 0 | [{"id": "G0", "claim": "Add a comment above the native preamble stage noting that it is currently stubbed out and will contain the k(Y) coefficients in a later iteration, and the same for the nested preamble, which wraps the preamble commitment.", "category": "documentation", "verdict": "supported", "priority": "P2", "... | null |
tachyon-zcash__ragu__2 | tachyon-zcash/ragu | 2 | defect | 885c4b8532203e8ccd63d494e49710b1526c54c6 | 8ea2f9d0f22885a6e78a72088754e69ec90ecc40 | refactor(core): rename Witness type alias to DriverInput | The [circuit trait](https://github.com/ebfull/ragu/blob/main/crates/ragu_circuits/src/lib.rs#L42) defines interface methods `instance` and `witness` for constructing the constraint system with public and private inputs. However, the current `Witness<D, T>` alias is ambiguously named:
- The instance method receives _pu... | diff --git a/crates/ragu_circuits/src/lib.rs b/crates/ragu_circuits/src/lib.rs
index 3def36e9e..37a83d5c2 100644
--- a/crates/ragu_circuits/src/lib.rs
+++ b/crates/ragu_circuits/src/lib.rs
@@ -17,7 +17,7 @@ extern crate alloc;
use ff::Field;
use ragu_core::{
Error, Result,
- drivers::{Driver, Witness},
+ d... | 2 | 2 | 2 | [{"id": "G0", "claim": "The DriverInput type alias this PR introduces is a misnomer, since these values are driver-specific but not necessarily always inputs, so it should be renamed to DriverValue.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The #[ra... | null |
tachyon-zcash__ragu__225 | tachyon-zcash/ragu | 225 | defect | dc57af4556d833e3eacac5016e9b289fc66b8752 | fd7d75ee99cfd21761234c2808b92dd9d2ecc7ab | Change header prefixes to suffixes to simplify the public input structure | Previously, two awkward patterns were needed:
1. `unified::Output` contained a dummy `zero: Element` to force $k(Y)$'s linear term to zero, preventing step circuits from substituting internal circuits
2. Headers were written in reverse order with temporary vectors that had to be reversed, to position the output hea... | diff --git a/crates/ragu_pcd/src/components/mod.rs b/crates/ragu_pcd/src/components/mod.rs
index df8ab17db..753639b74 100644
--- a/crates/ragu_pcd/src/components/mod.rs
+++ b/crates/ragu_pcd/src/components/mod.rs
@@ -1,4 +1,5 @@
//! Reusable or isolated internal components.
pub mod fold_revdot;
+pub mod suffix;
pu... | 4 | 2 | 0 | [{"id": "G0", "claim": "The dummy.rs docstring still says the trivial header 'prefix', which the rename to suffixes leaves stale; it should be updated.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment in internal_circuits/unified.rs (the T... | null |
tachyon-zcash__ragu__267 | tachyon-zcash/ragu | 267 | defect | 8a44fbd68092e9bef4504d61a1f7e70547458506 | 98cca484ec99801c8b6f8cf583a50e9314fbc7ee | feat: trivial proof API | References https://github.com/tachyon-zcash/ragu/issues/193 and sparsely models https://github.com/tachyon-zcash/ragu/pull/125
- `trivial_internal()` with zero polynomials and deterministic blindings,
- `seed()` convenience method for creating base case PCDs and internally calls `trivial_internal()` and `fuse()`,
... | diff --git a/crates/ragu_pcd/src/lib.rs b/crates/ragu_pcd/src/lib.rs
index 6f40a3ad5..b938c7866 100644
--- a/crates/ragu_pcd/src/lib.rs
+++ b/crates/ragu_pcd/src/lib.rs
@@ -158,11 +158,31 @@ pub struct Application<'params, C: Cycle, R: Rank, const HEADER_SIZE: usize> {
}
impl<C: Cycle, R: Rank, const HEADER_SIZE: u... | 8 | 6 | 1 | [{"id": "G0", "claim": "Maybe the PR should also provide a trivial version of seed (e.g. seed_trivial) that rerandomizes a trivial PCD without requiring a provided step.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The trivial_pcd method can be moved f... | null |
tachyon-zcash__ragu__274 | tachyon-zcash/ragu | 274 | defect | 30bd09c6d1d796f97213aa19874c4399fc454119 | 43bf4d8853e2604a871f29cc93e6f8bfbd5e27a7 | chore(pasta): replace manual clone impls with derive | Split `Cycle` into marker + params to enable `#[derive(Clone)]` on proof types, which eliminates 13 manual clone impls in [proofs.rs](https://github.com/tachyon-zcash/ragu/blob/main/crates/ragu_pcd/src/proof.rs). Specifically, we split `Cycle` impl into:
- `Pasta` - zero-sized marker type that implements `Clone`
... | diff --git a/crates/ragu_arithmetic/src/lib.rs b/crates/ragu_arithmetic/src/lib.rs
index acbf9b73e..3a90f409e 100644
--- a/crates/ragu_arithmetic/src/lib.rs
+++ b/crates/ragu_arithmetic/src/lib.rs
@@ -113,7 +113,17 @@ pub use u128 as Uendo;
///
/// Implementations of this trait provide the types, their relationships,... | 4 | 4 | 0 | [{"id": "G0", "claim": "The clippy warnings about unused proof fields in crates/ragu_pcd/src/proof.rs should be dealt with by disabling them within that file specifically for now, with a TODO comment explaining why.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
tachyon-zcash__ragu__329 | tachyon-zcash/ragu | 329 | defect | 94ea9b530e5d602cb59c61fb61f38352fef9cba9 | 80144c4edec48b6cf03a953bb80d225231b16639 | pcd: Provide type aliases for `Step` and `Header` inputs/outputs | the current `Step::witness` impl signature is verbose:
```rust
impl<C: Cycle> Step<C> for MyStep<C> {
fn witness<'dr, 'source: 'dr, D: Driver<'dr, F = C::CircuitField>, const HEADER_SIZE: usize>(
&self,
dr: &mut D,
witness: DriverValue<D, Self::Witness<'source>>,
left: Encod... | diff --git a/crates/ragu_pcd/src/header.rs b/crates/ragu_pcd/src/header.rs
index b7fdb58e5..c0edc30e9 100644
--- a/crates/ragu_pcd/src/header.rs
+++ b/crates/ragu_pcd/src/header.rs
@@ -104,8 +104,14 @@ impl<F: Field> Header<F> for () {
fn encode<'dr, 'source: 'dr, D: Driver<'dr, F = F>>(
_: &mut D,
- ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new type aliases add mental indirection with debatable clarity benefit and the pre-existing destructed tuple signature was clearer, so the reviewer votes to keep the destructed tuple API instead of the aliases.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "intro... | null |
tachyon-zcash__ragu__363 | tachyon-zcash/ragu | 363 | defect | 9e97f7760e6f62287ce436d758b22a5437fe78e9 | 2d38f68b7667ea7bfb8150ce4d3828cead3fe4c1 | Introduce registry key struct | Changes include:
- Rename `Collector` to `Evaluator` (to be consistent with #352)
- Add `struct registry::Key` whose constructor ensures non-zero value and cache its inverse
- Update all apis that use to accept an plain `F`, now updated with `&Key` and access the value via `.value()`
- Rename `Registry.get_key()`... | diff --git a/crates/ragu_circuits/src/rx.rs b/crates/ragu_circuits/src/rx.rs
index df7d7d8d4..d4ba1d735 100644
--- a/crates/ragu_circuits/src/rx.rs
+++ b/crates/ragu_circuits/src/rx.rs
@@ -11,12 +11,12 @@ use ragu_primitives::GadgetExt;
use super::{Circuit, Rank, structured};
-struct Collector<'a, F: Field, R: Ran... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of a raw field-element key plus the new InvalidMeshKey error, the PR should introduce a Key type (named mesh::Key, not MeshKey) guaranteed to be nonzero, returned by the function that produces it and containing the cached inverse, so the inverse computation and the new error are avoided.... | null |
tachyon-zcash__ragu__423 | tachyon-zcash/ragu | 423 | defect | daff8c9f13e0130cf36e36d998738d947d5b1395 | 2ad14699987f7b4047e48c424b1a8c3bbb866518 | chore: endoscalar API minor improvement | To align with language in the [book](https://tachyon.z.cash/ragu/protocol/extensions/endoscalar.html), I made these nit changes:
- rename `compute_scalar()`/`Endoscalar::field_scale()` to `lift()`
- reuse circuit logic for native execution for `lift()` using `Emulator`
- while keeping `extract()` as is since th... | diff --git a/crates/ragu_pcd/src/circuits/native/compute_v.rs b/crates/ragu_pcd/src/circuits/native/compute_v.rs
index 18bca39d3..de9f2ad80 100644
--- a/crates/ragu_pcd/src/circuits/native/compute_v.rs
+++ b/crates/ragu_pcd/src/circuits/native/compute_v.rs
@@ -16,7 +16,7 @@
//! (first query receives highest $\alpha$... | 1 | 1 | 1 | [{"id": "G0", "claim": "Keep the `endoscalar` module private and name its functions `extract_endoscalar` and `lift_endoscalar` instead of making the module public with the bare names `extract` and `lift`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tachyon-zcash__ragu__469 | tachyon-zcash/ragu | 469 | defect | c6bc3d1066681e6ecdc8c5c02765a4e0a684fb6c | b700a773b58ee6f52d2def85326de5098a179394 | chore(circuits): `circuit` crate suggestions | References `circuit` crate suggestions from auditors: https://github.com/QED-it/ragu/issues/14, https://github.com/QED-it/ragu/issues/15, https://github.com/QED-it/ragu/issues/39. | diff --git a/Cargo.lock b/Cargo.lock
index f59b3b979..adbdf5313 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -460,6 +460,7 @@ dependencies = [
"gungraun",
"proptest",
"ragu_arithmetic",
+ "ragu_circuits",
"ragu_core",
"ragu_pasta",
"ragu_primitives",
@@ -521,6 +522,7 @@ dependencies = [
"ragu_circuits",
... | 1 | 1 | 1 | [{"id": "G0", "claim": "In `tz`/`tx` the structured polynomial should always be modified via a view (e.g. `backward()`); nobody outside of the tests should be accessing the `d` field directly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tachyon-zcash__ragu__483 | tachyon-zcash/ragu | 483 | defect | d1b39d668669fffab6ceb55c2678321f910eb216 | 7c35c94726cccc41aff7e517bee2921800db7350 | Floor planner scaffolding | ## Background
`Routine`s are intended to naturally induce a correspondence between isolated portions of synthesis (sequences of multiplication gates and constraints that are mainly over _those_ newly introduced wires) and the resulting portions of $s(X, Y)$ that can then be memoized and manipulated by simple linear ... | diff --git a/crates/ragu_circuits/benches/circuits.rs b/crates/ragu_circuits/benches/circuits.rs
index cbba7bf17..746450b0e 100644
--- a/crates/ragu_circuits/benches/circuits.rs
+++ b/crates/ragu_circuits/benches/circuits.rs
@@ -7,13 +7,13 @@ use std::hint::black_box;
use gungraun::{library_benchmark, library_benchmar... | 20 | 10 | 8 | [{"id": "G0", "claim": "The SxScope field doc comments that the original Evaluator fields carried were lost in the rewrite and should be restored.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reversing each routine's linear-constraint range afte... | null |
tachyon-zcash__ragu__485 | tachyon-zcash/ragu | 485 | defect | a71885b7ffc4dae80efabd9f0bbaa6636b19fe56 | 2f5f9f2d52fff30e7abda2d0259c260d9dde05ca | chore(testing): migrate fixtures to `ragu_testing` crate | A dedicated `ragu_testing` crate that provides shared test and bench fixtures without introducing feature flags into the main crates. Specifically, it removes `test_fixtures` references, `cfg` patterns, `unstable-test-fixtures` feature in favor of using `ragu_testing` as a dev-depdency for tests/benchmarks.
~Deferri... | diff --git a/Cargo.lock b/Cargo.lock
index ca1c8c662..43158399b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -463,6 +463,7 @@ dependencies = [
"ragu_core",
"ragu_pasta",
"ragu_primitives",
+ "ragu_testing",
"rand",
]
@@ -522,6 +523,7 @@ dependencies = [
"ragu_core",
"ragu_pasta",
"ragu_primitives",
+ "r... | 1 | 1 | 0 | [{"id": "G0", "claim": "Replace the README's specific description line with the generic 'This crate contains internal implementation code for the [`ragu`](https://crates.io/crates/ragu) crate.' since no more specificity is needed for now.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope":... | null |
tachyon-zcash__ragu__495 | tachyon-zcash/ragu | 495 | defect | d1b39d668669fffab6ceb55c2678321f910eb216 | e519ac48d7f73cd067a5b29e0dc0935453f6990d | chore(circuits): rank handling with named aliases | References https://github.com/tachyon-zcash/ragu/issues/179. Replaces arbitrary `R<N>` with named rank aliases: `ProductionRank = R<13>` and `TestRank = R<7>` (paring down `impl_rank_for_R`). We can't use `ProductionRank` everywhere because some of our tests would take a few minutes to run in debug mode. | diff --git a/crates/ragu_circuits/benches/circuits.rs b/crates/ragu_circuits/benches/circuits.rs
index cbba7bf17..0654ec03f 100644
--- a/crates/ragu_circuits/benches/circuits.rs
+++ b/crates/ragu_circuits/benches/circuits.rs
@@ -6,7 +6,7 @@ use std::hint::black_box;
use gungraun::{library_benchmark, library_benchmar... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment should not say the Rank trait provides ProductionRank and TestRank, since those are type aliases referenced rather than provided by the trait.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tachyon-zcash__ragu__496 | tachyon-zcash/ragu | 496 | defect | d1b39d668669fffab6ceb55c2678321f910eb216 | 3a8aa702066fecbf6ff186c87fcd5af5db66c34d | API changes preceding floor planning | This extracts various API changes from #483 that can be reviewed and merged independently of the floor planning code. | diff --git a/crates/ragu_circuits/benches/circuits.rs b/crates/ragu_circuits/benches/circuits.rs
index cbba7bf17..40a10f17d 100644
--- a/crates/ragu_circuits/benches/circuits.rs
+++ b/crates/ragu_circuits/benches/circuits.rs
@@ -7,13 +7,13 @@ use std::hint::black_box;
use gungraun::{library_benchmark, library_benchmar... | 5 | 2 | 0 | [{"id": "G0", "claim": "The `circuit`/`_circuit: CircuitIndex` parameter of `Registry::assemble` is unused; add a TODO comment explaining it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`Trace::assemble_trivial` nearly duplicates the assembly... | null |
tachyon-zcash__ragu__497 | tachyon-zcash/ragu | 497 | defect | a925484b92875d1aecc07935d3fd07aa5d48d04f | 39ef42b9c9fac6dc3c0572fe3747a65573c8ce7f | chore(circuits): unify ky evaluation using a shared/generic horner impl | References https://github.com/tachyon-zcash/ragu/issues/256.
Unifies multiple `ky` definitions by removing the nearly duplicate `ky` wrapper and `Horner` impls from the `ragu_pcd` crate, and relocating `Horner` to `ragu_circuits` as a generic utility. I think this migration is suitable because if we keep the impleme... | diff --git a/crates/ragu_circuits/benches/circuits.rs b/crates/ragu_circuits/benches/circuits.rs
index 35d47d105..fa8984daf 100644
--- a/crates/ragu_circuits/benches/circuits.rs
+++ b/crates/ragu_circuits/benches/circuits.rs
@@ -82,9 +82,9 @@ library_benchmark_group!(
);
#[library_benchmark(setup = setup_rng)]
-#[b... | 4 | 3 | 0 | [{"id": "G0", "claim": "The `ky` benchmark no longer benchmarks creating the k(Y) polynomial, it benchmarks evaluating it, so the benchmark no longer measures what its name says (and construction of k(Y) is no longer benchmarked anywhere).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.