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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OpenMined__PySyft__3535 | OpenMined/PySyft | 3,535 | defect | ea8e9c4d6ba2f5b1f5a3fd3fc7e1d383f7c87d52 | fb49e5e9bba4ea577025502d945ffbbebaba028a | Added method to return support for framework in BaseWorker |
## Description
Added method to return support for framework in BaseWorker.
Issue: #3523
Thank you for your contribution to the PySyft repository.
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
If your pull request closes a GitHub issu... | diff --git a/syft/workers/base.py b/syft/workers/base.py
index 60cb6896706..0c4ea3acde6 100644
--- a/syft/workers/base.py
+++ b/syft/workers/base.py
@@ -1263,3 +1263,16 @@ def force_detail(worker: AbstractWorker, worker_tuple: tuple) -> tuple:
worker.object_store.rm_obj(obj.id)
return result... | 4 | 3 | 1 | [{"id": "G0", "claim": "The method should directly return `framework.lower() in __all__` instead of branching to return True/False.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The supported frameworks should come from the dedicated `framework... | null |
OpenMined__PySyft__3674 | OpenMined/PySyft | 3,674 | defect | 27c6799a2bdde2a27023bf07e29c34f50ff33995 | 6ae923508a16e891321ce53cc63f18050aee4758 | Addition operation on FV scheme | ## Description
Closes #3656
Addition operation on FV scheme.
**Implemented:**
- Support Ciphertext Ciphertext addition
- Support Ciphertext Plaintext addition
- Support Plaintext Plaintext addition
## How has this been tested?
Added tests for every private method and simultaneously tested the public metho... | diff --git a/examples/experimental/FV HE Experimentation.ipynb b/examples/experimental/FV HE Experimentation.ipynb
index 0c852f98bad..15b2b2a3b5a 100644
--- a/examples/experimental/FV HE Experimentation.ipynb
+++ b/examples/experimental/FV HE Experimentation.ipynb
@@ -19,6 +19,8 @@
}
],
"source": [
+ ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The copy.deepcopy calls in _add_cipher_cipher, _add_plain_cipher and _add_plain_plain are unnecessary because the add method already copies the operands.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstrings of the ne... | null |
OpenMined__PySyft__3775 | OpenMined/PySyft | 3,775 | defect | 3dac9dda90deae86406dba97d3186d08a4c0f753 | d6d827d94a66ab98d82d7feae9bf852c6e1142a5 | Implemented Subtraction operation of FV Scheme | ## Description
closes #3702
Implemented Subtraction operation of the FV scheme.
Can Subtract two ciphertexts or a plaintext from a ciphertext.
## Affected Dependencies
None
## How has this been tested?
- Added tests which check the subtracted values from the operation.
## Checklist
- [x] I have follo... | diff --git a/syft/frameworks/torch/he/fv/evaluator.py b/syft/frameworks/torch/he/fv/evaluator.py
index 5d017dd644f..1e932c6743b 100644
--- a/syft/frameworks/torch/he/fv/evaluator.py
+++ b/syft/frameworks/torch/he/fv/evaluator.py
@@ -1,7 +1,10 @@
import copy
from syft.frameworks.torch.he.fv.util.operations import po... | 5 | 5 | 0 | [{"id": "G0", "claim": "The type-checking if-chains duplicated across add/sub could be extracted into a shared helper method to reduce duplicated code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The _add_cipher_plain docstring should describ... | null |
OpenMined__PySyft__3805 | OpenMined/PySyft | 3,805 | defect | ce7351f2de22a3b3271d7c88a3a201a5de20aac5 | 949baae23e8ad2971da0997bc36177c67f646fa1 | Add a parameter to batch all garbage collection calls every n seconds | ## Description
This will help reducing messages to remotely GC values.
## How has this been tested?
- Describe the tests that you ran to verify your changes.
- Provide instructions so we can reproduce.
- List any relevant details for your test configuration.
## Checklist
- [x] I have followed the [Contributi... | diff --git a/syft/__init__.py b/syft/__init__.py
index 76873e05e20..3c41ceb7c46 100644
--- a/syft/__init__.py
+++ b/syft/__init__.py
@@ -140,3 +140,6 @@ def pool():
from syft.generic.id_provider import IdProvider
ID_PROVIDER = IdProvider()
+
+# Garbage colect all remote data on a worker every garbage_delay ... | 5 | 2 | 1 | [{"id": "G0", "claim": "The GC state (the trash dict and garbage_delay) would be a better attribute of the storage class than of the worker or module.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "With the current default garbage_delay = 0, the elapsed-... | null |
OpenMined__PySyft__3817 | OpenMined/PySyft | 3,817 | defect | 91b1bf8aa7ea2f28dd045366639885cdc134c4c8 | bafc5163930b418c200fa6e0469c9d75ac0533b9 | Use OnnxModels for private inference | ## Description
Define and use ```OnnxModels``` serialized models.
The parties know the model architecture and one of the parties has data that should be run through the model.
The local party does not have any idea about the architecture or the data.
The local party would only receive the result for the inference... | diff --git a/pip-dep/requirements.txt b/pip-dep/requirements.txt
index 0defe24b0ce..c95b02dd02c 100644
--- a/pip-dep/requirements.txt
+++ b/pip-dep/requirements.txt
@@ -12,7 +12,7 @@ psutil==5.7.0
requests~=2.22.0
RestrictedPython~=5.0
scipy~=1.4.1
-syft-proto==0.4.7
+git+https://github.com/gmuraru/syft-proto.git@d8... | 8 | 7 | 1 | [{"id": "G0", "claim": "The requirements file pins syft-proto to the author's personal git fork, and this needs the corresponding syft-proto changes merged and released before it can be merged.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Shouldn'... | null |
OpenMined__PySyft__3856 | OpenMined/PySyft | 3,856 | defect | 2787fb01d9b9adc876894a96dd46fb5ca4f70887 | 9ea4b091a48ddf207c6e5b5ddc76e0ab2aab443d | Replicated Sharing Tensor (RST): secret sharing, reconstruction, and linear operations | ## Description
This PR will implement the basic operations of the replicative secret sharing scheme in order to be able to implement falcon protocol
for more details: #3852
## Checklist
- [x] I have followed the [Contribution Guidelines](https://github.com/OpenMined/.github/blob/master/CONTRIBUTING.md) and [Code... | diff --git a/syft/__init__.py b/syft/__init__.py
index 76873e05e20..a14dd9ae66e 100644
--- a/syft/__init__.py
+++ b/syft/__init__.py
@@ -69,6 +69,7 @@
from syft.frameworks.torch.tensors.interpreters.additive_shared import ( # noqa: E402,F401
AdditiveSharingTensor,
)
+from syft.frameworks.torch.tensors.interpret... | 12 | 4 | 0 | [{"id": "G0", "claim": "The share distribution may be wrong: shouldn't party i hold shares i-1 and i+1 (rather than i and i+1), which would let a party reconstruct the secret?", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Make generate_shares a stati... | null |
OpenMined__PySyft__3870 | OpenMined/PySyft | 3,870 | defect | bc5337507047b325e79cb9b2060abac4bdc08f3f | 6e676b09ee79cf5249dedbcc93592e96f2a52af9 | Parameters validation for the FV scheme | ## Description
closes #3792
Checks basic properties that the parameters should have while setting up, and tests the generated prime nos if those are correct.
## Affected Dependencies
None
## How has this been tested?
This code does not need to have dedicated tests and it is verified by already present tests.... | diff --git a/syft/frameworks/torch/he/fv/context.py b/syft/frameworks/torch/he/fv/context.py
index c4dda8378f8..9c5c9332094 100644
--- a/syft/frameworks/torch/he/fv/context.py
+++ b/syft/frameworks/torch/he/fv/context.py
@@ -1,4 +1,12 @@
+import math
+from functools import reduce
from syft.frameworks.torch.he.fv.util.... | 4 | 3 | 2 | [{"id": "G0", "claim": "The invalid-coefficient-modulus error messages should specify the allowed range/limit and the coefficient count or value that was actually passed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The total_coeff_modulus sho... | null |
OpenMined__PySyft__3904 | OpenMined/PySyft | 3,904 | defect | 786bb4aec8413b95340b4befab9a85b789823af4 | 7d2c26ffe1482cb4ac4fe058454eb6edffe5d7c0 | fix for copy | ## Description
This is a partial solution for #3845. I was able to reproduce the issue for `copy` using:
```
import torch
import torch.nn as nn
import syft as sy
hook = sy.TorchHook(torch)
bob = sy.VirtualWorker(hook, id="bob")
model = nn.Linear(2, 1)
model_ptr = model.send(bob)
model_copy_ptr = model_pt... | diff --git a/syft/generic/pointers/pointer_tensor.py b/syft/generic/pointers/pointer_tensor.py
index 6130a369755..67e7589be0d 100644
--- a/syft/generic/pointers/pointer_tensor.py
+++ b/syft/generic/pointers/pointer_tensor.py
@@ -16,6 +16,8 @@
from syft.exceptions import RemoteObjectFoundError
+import torch
+
cl... | 2 | 1 | 1 | [{"id": "G0", "claim": "The PR should add a test covering copying a remote model (create a Linear model and input, compute locally, send both, make a remote copy, call get() on the original and eval the copy remotely, compare results), and do the same for clone.", "category": "testing", "verdict": "supported", "priorit... | null |
OpenMined__PySyft__3909 | OpenMined/PySyft | 3,909 | defect | 2fa68778a313b8b47444768b189c0cfc3f1817c8 | 939c015b21e7a4237147db40927ea5b8789f5e0d | Refactor SPDZ to use the crypto store | ## Description
This PR aligns SPDZ with the FSS protocol to use a unified way of generating crypto primitives for those protocol. This will also benefit SecureNN.
**🛑 WARNING: This PR removes support for SMPC with > 2 workers**
## Checklist
- [x] I have followed the [Contribution Guidelines](https://github... | diff --git a/syft/frameworks/torch/mpc/beaver.py b/syft/frameworks/torch/mpc/beaver.py
index 8e80612ac4d..14eccfb2e43 100644
--- a/syft/frameworks/torch/mpc/beaver.py
+++ b/syft/frameworks/torch/mpc/beaver.py
@@ -1,45 +1,60 @@
-from typing import Callable
-import torch
+import torch as th
+from typing import Tuple
-f... | 5 | 4 | 0 | [{"id": "G0", "claim": "The type annotation of build_triple's shape parameter should say it is a tuple of two shapes: Tuple[th.Size, th.Size] rather than Tuple[th.Size].", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mul and matmul crypto-stor... | null |
OpenMined__PySyft__3936 | OpenMined/PySyft | 3,936 | defect | 918c9dc29c8287c7d1f3b3e5d0636786b2b89241 | efa2c4f5111ecfab07ee721c670e59ed69e5cc0b | Updated pre-commit-config | ## Description
As per conversation in Slack, the pre commit hooks will prevent tests / checks in CI being easily broken.
I have tested this locally and it is all working currently as expected.
We should document the setup and encourage all developers to adopt the use of these hooks.
See: https://pre-commit.com/
... | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6eeedfb9ac7..364aec7438d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v1.3.0
+ rev: v3.2.0
hooks:
- id: trailing-whitespac... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR lacks documentation of the setup steps required to get pre-commit hooks installed on a developer's machine, and the reviewer cannot accept it without that documentation (suggesting PyGrid's CONTRIBUTORS.md as a reference).", "category": "documentation", "verdict": "supported", "priority":... | null |
OpenMined__PySyft__3943 | OpenMined/PySyft | 3,943 | defect | b0cb4e45761daf1e579c3c36b31eb45ceeca54ed | 0aa1a25f33f72439aad01ddde7a770127f9b40ea | Refacto various little thing | ## Description
These are remaining few fixes and updates
## Checklist
- [x] I have followed the [Contribution Guidelines](https://github.com/OpenMined/.github/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/OpenMined/.github/blob/master/CODE_OF_CONDUCT.md)
- [x] I have commented my code foll... | diff --git a/syft/generic/utils.py b/syft/generic/utils.py
index a41f9ed3eec..3218da929df 100644
--- a/syft/generic/utils.py
+++ b/syft/generic/utils.py
@@ -37,7 +37,7 @@ def remote(func, location):
if isinstance(location, str):
location = worker.get_worker(location)
- def remote_exec(*args, return_v... | 2 | 1 | 0 | [{"id": "G0", "claim": "The scheme_to_compression mapping (the default values) should be moved to the top of the file, before the function definitions.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of apply_no_compression says it returns a t... | null |
OpenMined__PySyft__3960 | OpenMined/PySyft | 3,960 | defect | 7b8b5966d750425166ad38da990de30df5570271 | 73d3435665db5c6bfcde2b74e36ddbf07fac8d7f | Overload mod operator for the fixed precision tensor | As pointed out in https://github.com/OpenMined/PySyft/issues/3958 modular operations over fixed precision tensors are broken. This PR overloads the mod operation over fixed precision tensors in [`syft/frameworks/torch/tensors/interpreters/precision.py`](https://github.com/arturomf94/PySyft/blob/d75a2ba0d4542faf1e5d019c... | diff --git a/syft/frameworks/torch/tensors/interpreters/precision.py b/syft/frameworks/torch/tensors/interpreters/precision.py
index 68bca7973a5..fa2d8191781 100644
--- a/syft/frameworks/torch/tensors/interpreters/precision.py
+++ b/syft/frameworks/torch/tensors/interpreters/precision.py
@@ -73,6 +73,15 @@ def __init__... | 6 | 5 | 3 | [{"id": "G0", "claim": "Asks to rename the __mod__ parameter \"other\" to \"devisor\" for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Questions why __mod__ copies self instead of modifying self.child directly and returning self."... | null |
OpenMined__PySyft__3961 | OpenMined/PySyft | 3,961 | defect | 268c341d8f5fa893b18a1988b5989774c499db51 | 16ae8f0310355c60b60b4d6f5e8eb1f6fad6bbba | Add `argmin` and `min` method in AST | ## Description
I add `min` and `argmin`.
## Affected Dependencies
List any dependencies that are required for this change.
## How has this been tested?
- Describe the tests that you ran to verify your changes.
- Provide instructions so we can reproduce.
- List any relevant details for your test configurati... | diff --git a/syft/frameworks/torch/tensors/interpreters/additive_shared.py b/syft/frameworks/torch/tensors/interpreters/additive_shared.py
index 97b9d92376e..5bc16fe284d 100644
--- a/syft/frameworks/torch/tensors/interpreters/additive_shared.py
+++ b/syft/frameworks/torch/tensors/interpreters/additive_shared.py
@@ -904... | 3 | 3 | 0 | [{"id": "G0", "claim": "The docstring of the min method says 'the max of the tensor self' where it should say the minimum.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debugging print statement 'print(x.argmin)' in test_argmin should be remo... | null |
OpenMined__PySyft__3962 | OpenMined/PySyft | 3,962 | defect | 268c341d8f5fa893b18a1988b5989774c499db51 | 05ead574ce085a68163d05ca7f39c1f8dec22c59 | Update FV scheme to use context chain instead of single context object | ## Description
For Relinearization operation, we need to perform modulus switching which requires the context chain to have context object with different coefficient modulus value.
## Affected Dependencies
None
## How has this been tested?
All tests for components passing
## Checklist
- [x] I have followed... | diff --git a/syft/frameworks/torch/he/fv/ciphertext.py b/syft/frameworks/torch/he/fv/ciphertext.py
index b5085704f24..ed3e11c8ec4 100644
--- a/syft/frameworks/torch/he/fv/ciphertext.py
+++ b/syft/frameworks/torch/he/fv/ciphertext.py
@@ -6,7 +6,9 @@ class CipherText:
Attributes:
data: A 3-dim list repres... | 4 | 4 | 1 | [{"id": "G0", "claim": "The Args section of the ContextData docstring should be placed inside the __init__ method instead of at class level.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The _encrypt docstring in encryptor.py should be updated to... | null |
OpenMined__PySyft__3973 | OpenMined/PySyft | 3,973 | defect | 00d7080d3fa60f33a79cc1dda52ef1ac056902c6 | f413c393b14ea2a9670d991368c330f8145ad1c5 | Add RNG for workers | ## Description
In the Correlated Randomness scenario, each worker will have 2 seeds (one generated locally, and one received from another worker).
For the moment this PR is WIP because I am thinking on an interface/best approach to generate random numbers remote using those generators.
Fixes #3898
## Affected... | diff --git a/syft/frameworks/torch/mpc/__init__.py b/syft/frameworks/torch/mpc/__init__.py
index 431acfeacdf..451bebd2338 100644
--- a/syft/frameworks/torch/mpc/__init__.py
+++ b/syft/frameworks/torch/mpc/__init__.py
@@ -10,6 +10,7 @@ def crypto_protocol(protocol_name):
protocol_name: the name of the protocol.... | 7 | 7 | 0 | [{"id": "G0", "claim": "Remove the leftover debug print statement in generate_alpha_2of3.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a short docstring to __get_next_elem or the alpha generators explaining the difference between the 3of3 ... | null |
OpenMined__PySyft__3977 | OpenMined/PySyft | 3,977 | defect | 092717cb4af439c4e0d7fd6faeeb0d67b9d7623d | cd0bb58d0080bd8630c81b4ed802fe61c1d0e535 | Implement Relinearization operation of BFV Scheme | ## Description
Closes #3662 #3791
Implementing Relin Key and Relinearization operation for the FV scheme. So that we can decrement the size of ciphertexts if needed. Mainly required after multiplication operation.
## Affected Dependencies
None
## How has this been tested?
Added tests for the relinearization ... | diff --git a/examples/experimental/FV HE Experimentation.ipynb b/examples/experimental/FV HE Experimentation.ipynb
index feccb3d4e8f..303ef09dfe7 100644
--- a/examples/experimental/FV HE Experimentation.ipynb
+++ b/examples/experimental/FV HE Experimentation.ipynb
@@ -9,7 +9,7 @@
},
{
"cell_type": "code",
-... | 3 | 3 | 1 | [{"id": "G0", "claim": "The key-switching return drops the last ciphertext component generically with ct[:-1] even though the algorithm only applies to length-3 ciphertexts, so it should explicitly specify ct[0:2] to make that clear.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
OpenMined__PySyft__4015 | OpenMined/PySyft | 4,015 | defect | 8f5bd18330b744d1a23e655732ae932b354341b0 | 62b7f3227ba177c7f6fa28265fc2dadfcd2febeb | Replicated Sharing Tensor: Multiplication, Matrix multiplication, and Convolution | ## Description
The implementation of the rest of the operations of replicated shared tensor that's necessary to implement falcon protocol.
1- Multiplication: to multiplay a secret x = [x1,x2,x3] by a secret y = [y1,y2,y3] :
- Parties locally compute z1 = x1y1+x2y1+x1y2, z2 = x2y2+x3y2+x2y3 and z3 = x3y3 +x1y3 +x3... | diff --git a/syft/frameworks/torch/mpc/przs.py b/syft/frameworks/torch/mpc/przs.py
index e82e1687263..eabfe90df45 100644
--- a/syft/frameworks/torch/mpc/przs.py
+++ b/syft/frameworks/torch/mpc/przs.py
@@ -5,7 +5,7 @@
import torch
import syft
-RING_SIZE = 2 ** 64
+RING_SIZE = 2 ** 5
ERR_MSG = "You must call PRZS.se... | 5 | 4 | 2 | [{"id": "G0", "claim": "The PRZS ring size hardcoded as 2 ** 5 looks like a leftover placeholder and should be consistent with the ring size used by RST.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The closing parenthesis in generate_shares is mi... | null |
OpenMined__PySyft__4020 | OpenMined/PySyft | 4,020 | defect | 1f36fbf0034bcaf2f8afe7ac9ccf85bcd425383e | 67aba9d0696fd7666513180e5b1234b460879525 | Grid clients serialisation correction | ## Description
Register `DataCentricFLClient` in serde for serialization.
## Affected Dependencies
`DataCentricFLClient` cannot be serialised currently, as it's not registered in serde.
which causes error while doing SMPC as sharing of tensor raises the error during serialization.
Code :
`x = torch.tensor([1,2... | diff --git a/examples/tutorials/Part 02 - Intro to Federated Learning.ipynb b/examples/tutorials/Part 02 - Intro to Federated Learning.ipynb
index ca07bbf0c9f..0052842a9e9 100644
--- a/examples/tutorials/Part 02 - Intro to Federated Learning.ipynb
+++ b/examples/tutorials/Part 02 - Intro to Federated Learning.ipynb
@... | 7 | 6 | 3 | [{"id": "G0", "claim": "DataCentricFLClient cannot be imported in syft.serde.msgpack.serde because of a circular import error, so a file-structure change will be required.", "category": "design", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The updated tutorial notebook commi... | null |
OpenMined__PySyft__4021 | OpenMined/PySyft | 4,021 | defect | 7ac20bd98cf5c7acde2d96cb9af99252266cca45 | 00609504f7b2f2d239e2140ed065cc705d50b668 | Fast FixedPrecisonTensor Reciprocal Method (150x faster) | ## Description
issue: https://github.com/OpenMined/PySyft/issues/3993
We can use reciprocal 150 times faster on average. Implementing division of AST with reciprocal can make existing very slow division much faster. In addition, many slow operations can be made very quickly.
This implementation referred to the... | diff --git a/syft/frameworks/torch/tensors/interpreters/precision.py b/syft/frameworks/torch/tensors/interpreters/precision.py
index cccd4541bed..4ae63087f85 100644
--- a/syft/frameworks/torch/tensors/interpreters/precision.py
+++ b/syft/frameworks/torch/tensors/interpreters/precision.py
@@ -468,9 +468,19 @@ def matmul... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test should build the plain tensor once and compare the reciprocal results against torch's own tensor.reciprocal() using torch.isclose instead of exact equality against hardcoded values.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "... | null |
OpenMined__PySyft__4065 | OpenMined/PySyft | 4,065 | defect | 7fe9f79ebbc2df5ee7990c0f1fd80e8afcda02fc | 5f3a82aaa19fe1de695243accb9c585d5b8e9dfc | Added support for negative numbers in reciprocal method #4048 | ## Description
This PR fixes #4048
Added support for negative numbers when use different methods in Reciprocal.
Uses a signum function to achieve this
Suggestions are welcome!
## Affected Dependencies
- None
## How has this been tested?
- No additional tests are needed. Changed the default value in test_r... | diff --git a/syft/frameworks/torch/tensors/interpreters/precision.py b/syft/frameworks/torch/tensors/interpreters/precision.py
index d906c96fd2d..3cf81c98457 100644
--- a/syft/frameworks/torch/tensors/interpreters/precision.py
+++ b/syft/frameworks/torch/tensors/interpreters/precision.py
@@ -468,7 +468,7 @@ def matmul(... | 2 | 2 | 1 | [{"id": "G0", "claim": "NR is much faster than division, so there should be a reason for changing the default reciprocal method from NR to division.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sign-handling code duplicated between the log and... | null |
OpenMined__PySyft__4474 | OpenMined/PySyft | 4,474 | defect | 9dc09f3d3c2d78390adffe847d0b44a8afbc5f90 | a5206f2e8a4e4a592086a2e791805705471f847c | Falcon - Select share + evaluating | ## Description
This PR implements the share selection from the Falcon paper and the **evaluation** part.
Fixes the first point and the last from from #3852
## How has this been tested?
- Added test to validate it works
## Checklist
- [X] I have followed the [Contribution Guidelines](https://github.com/OpenMin... | diff --git a/syft/frameworks/torch/mpc/falcon.py b/syft/frameworks/torch/mpc/falcon.py
index e69de29bb2d..6f93bba340b 100644
--- a/syft/frameworks/torch/mpc/falcon.py
+++ b/syft/frameworks/torch/mpc/falcon.py
@@ -0,0 +1,55 @@
+import torch
+
+from syft.frameworks.torch.tensors.interpreters.replicated_shared import Repl... | 10 | 8 | 1 | [{"id": "G0", "claim": "Rename the RST attribute back from field to ring_size: field stands for the whole arithmetic field ]0, Z[, which is an incorrect and misleading name for the variable representing Z only, and the paper uses ring size.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
OpenMined__PySyft__4479 | OpenMined/PySyft | 4,479 | defect | 14751d9c6096f86ef6833576300911c0a1db2deb | 7ba4d03a38e8eb780324cf47d730dd84a1f03aa0 | Fix `Node.known_child_nodes` to only return Clients | ## Description
`known_child_nodes` was returning all objects in the memory store.
## Affected Dependencies
List any dependencies that are required for this change.
## How has this been tested?
- Describe the tests that you ran to verify your changes.
- Provide instructions so we can reproduce.
- List any rel... | diff --git a/src/syft/core/node/common/node.py b/src/syft/core/node/common/node.py
index 1a8330c5ba8..64a55d320fb 100644
--- a/src/syft/core/node/common/node.py
+++ b/src/syft/core/node/common/node.py
@@ -286,14 +286,7 @@ def known_child_nodes(self) -> List[Address]:
if sy.VERBOSE:
print(f"> {self... | 4 | 4 | 2 | [{"id": "G0", "claim": "get_objects_of_type should return a set comprehension such as {obj for obj in self.values if isinstance(obj, obj_type)} instead of the for loop, since it is more concise and still readable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id"... | null |
OpenMined__PySyft__4484 | OpenMined/PySyft | 4,484 | defect | 9dc09f3d3c2d78390adffe847d0b44a8afbc5f90 | a343d1ba537ce7f88491dfb6c5a788d296d8d900 | Falcon module structure & design | ## Description
In this PR we initiate the file structure of the classes the Falcon protocol will use, establish their interfaces, and how they will communicate.
I have made three new classes:
1- Flacon tensor: extends ReplicatedSharingTensor to implement the tensor operations that are specific to Falcon protocol ... | diff --git a/syft/frameworks/torch/mpc/falcon.py b/syft/frameworks/torch/mpc/falcon/__init__.py
similarity index 100%
rename from syft/frameworks/torch/mpc/falcon.py
rename to syft/frameworks/torch/mpc/falcon/__init__.py
diff --git a/syft/frameworks/torch/mpc/falcon/faclon_helper.py b/syft/frameworks/torch/mpc/falcon/f... | 4 | 2 | 1 | [{"id": "G0", "claim": "The FalconTensor class should be removed and xor implemented outside a tensor class (in falcon.py), because xor is not a tensor method and would not work through the wrapper.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A stray ... | null |
OpenMined__PySyft__4522 | OpenMined/PySyft | 4,522 | defect | 9d4f8e3ebecc4a00428607403832c5628753f1fc | 5727a3714cb240508c163f733d52ce9dc3f36743 | Added support for FixedPrecisionTensor chain in ReplicatedSharingTensor (RST) | ## Description
> Added support for FixedPrecisionTensor chain in ReplicatedSharingTensor (RST)
> Modified add and sub of FPT to support FPT chain in RST
> Modified falcon files to support (Wrapper)> [ReplicatedSharingTensor]
this PR closed #3931
## Affected Dependencies
None
## How has this been te... | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6eeedfb9ac7..1b32354fcfe 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,7 +12,7 @@ repos:
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/psf/black
- rev: 19.10b0
+ rev: 20.8b1
... | 8 | 6 | 3 | [{"id": "G0", "claim": "The .child selections in select_share are unnecessary - xor should check for wrappers itself so the shared tensors (c_2, c_L) can be passed as wrappers directly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The name of the AST's... | null |
OpenMined__PySyft__4619 | OpenMined/PySyft | 4,619 | defect | 3f4388bf3309fcb154ea32d365265bf808cdac6b | 51e97abac9287a2f8b5a98b80d7c7ddfa1d44c55 | Remote execution of torch hooks | ## Description
This provides a mechanism to set hook functions (during pytorch backprop) on remote tensors and models.
This allows to register torch hooks on remote tensors. Such operation
is tricky because you can't really send the hook function to a remote
party, as python functions are not seri... | diff --git a/syft/frameworks/torch/fl/dataset.py b/syft/frameworks/torch/fl/dataset.py
index b09cd19524c..abc47f12e9d 100644
--- a/syft/frameworks/torch/fl/dataset.py
+++ b/syft/frameworks/torch/fl/dataset.py
@@ -257,12 +257,22 @@ def get_protobuf_schema():
return BaseDatasetPB
-def dataset_federate(datase... | 3 | 2 | 2 | [{"id": "G0", "claim": "The backward-compatibility check in dataset_federate should accept a list of workers, not only a tuple.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new remote hook registration code (register_callback_hook and related trigg... | null |
OpenMined__PySyft__4674 | OpenMined/PySyft | 4,674 | defect | 3bfafde2105de455f3941961b7e22c12a6cd5f27 | 3e08b210e399e44ef64f0ce0b331d36a381942ad | Use id_at_location | ## Description
Currently, we use the id of the object as a way to register an object as a remote location.
This brings some advantages, but also some downsides.
The advantage is that we will record only once if we send that item multiple times.
```
ptr = x.send(alice)
ptr = x.send(alice)
```
Since we send the s... | diff --git a/docs/installing.rst b/docs/installing.rst
index 97fe6ba5b24..f9f177c22da 100644
--- a/docs/installing.rst
+++ b/docs/installing.rst
@@ -407,7 +407,7 @@ or in case you are lazy! you can use `Github for Desktop. <https://desktop.gith
Step 2 - Install Microsoft Build tools
---------------------------------... | 3 | 3 | 0 | [{"id": "G0", "claim": "Keep the commented-out repeated-assignment line in the tensor test, or add a counter-example test proving that repeating the same assignment causes no issue, plus a loop test for a quick volume of messages and odd assignment/del behaviour.", "category": "testing", "verdict": "supported", "priori... | null |
OpenMined__PySyft__4752 | OpenMined/PySyft | 4,752 | defect | d811ef1e91e5e2c84fbbf1edf61e6983380b4d16 | 564579acfe28212970f44adf769589d0687a7440 | fix comparison between FPT and AST | ## Description
this PR fixes #4705
comparison function of additive_share.py is modified.
## Affected Dependencies
none
## How has this been tested?
- test cases are added
## Checklist
- [x] I have followed the [Contribution Guidelines](https://github.com/OpenMined/.github/blob/master/CONTRIBUTING.md) and... | diff --git a/syft/frameworks/torch/tensors/interpreters/additive_shared.py b/syft/frameworks/torch/tensors/interpreters/additive_shared.py
index 56bb860b45b..fb2bfc273d0 100644
--- a/syft/frameworks/torch/tensors/interpreters/additive_shared.py
+++ b/syft/frameworks/torch/tensors/interpreters/additive_shared.py
@@ -929... | 1 | 1 | 0 | [{"id": "G0", "claim": "The AST-vs-FPT comparisons added inside test_comp should be moved to another test function, because test_comp is called twice (once per protocol) - or test_comp should be parameterized with only \"fss\".", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenMined__PySyft__4773 | OpenMined/PySyft | 4,773 | defect | e37b0fe7a7f834092e28ca933bc98f0770c24ab3 | cfb7a1c3f2bb00732c75b42181dcb672902dc195 | Add .ndim and .T to Tensor (OpenMined#4617) | ## Description
Fixes #4617
Add .ndim and .T functionality to FixPrecisionTensor and PointerTensor.
## Affected Dependencies
List any dependencies that are required for this change.
## How has this been tested?
- test units
## Checklist
- [ ] I have followed the [Contribution Guidelines](https://github.co... | diff --git a/syft/frameworks/torch/hook/hook.py b/syft/frameworks/torch/hook/hook.py
index 02a7c204610..da7ec4870b2 100644
--- a/syft/frameworks/torch/hook/hook.py
+++ b/syft/frameworks/torch/hook/hook.py
@@ -300,6 +300,8 @@ def _hook_native_tensor(self, tensor_type: type, syft_type: type):
def __hook_properties(s... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new test_T test for FixPrecisionTensor should test the transposed value, not just the shape.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test_remote_T test for PointerTensor should test the tensor y itself, not the... | null |
OpenMined__SyferText__132 | OpenMined/SyferText | 132 | defect | d46e1183e141385897cbe680ca03300cbb3d7b66 | 4e50a0715549eaaed5176057075c48ed6d7783f6 | Replace Numpy arrays by torch tensors | ## Description
This pull request is related to issue #100 for Replacing Numpy arrays by torch tensors
| diff --git a/syfertext/doc.py b/syfertext/doc.py
index c20d884df..e3076879d 100644
--- a/syfertext/doc.py
+++ b/syfertext/doc.py
@@ -255,7 +255,7 @@ def get_vector(self, excluded_tokens: Dict[str, Set[object]] = None):
doc_vector = vectors / vector_count
return doc_vector
- def get_token_vect... | 2 | 2 | 2 | [{"id": "G0", "claim": "The zero vector in test_vector_valid_token_is_not_zero should be created as a torch tensor instead of a numpy array.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The zero vector in test_vector_non_valid_token_is_zero should... | null |
OpenMined__SyferText__60 | OpenMined/SyferText | 60 | defect | b83fba05a84ba2746d0e9927aebcf48ee74a3d92 | f0a77d22a66dfaafb0ab7ef8639b86ada6c0f628 | Removed pre-loaded strings in StringStore | ## Description
removed pre-loaded strings in StringStore. Now string will only be added when it is encountered first.
Fixes #59
## Checklist:
* [x] I did follow the [contribution guidelines](https://github.com/OpenMined/PySyft/blob/master/CONTRIBUTING.md)
* [x] I have commented my code following [Google s... | diff --git a/syfertext/string_store.py b/syfertext/string_store.py
index c3d74e70a..8e3b1e9ef 100644
--- a/syfertext/string_store.py
+++ b/syfertext/string_store.py
@@ -96,3 +96,8 @@ def __getitem__(self, string_or_id: Union[str, int]):
key = self.str_to_key[string_or_id]
return key
+
+ ... | 5 | 5 | 1 | [{"id": "G0", "claim": "Add a mention in this change that only strings that are encountered will be stored in the StringStore.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the test part that tokenizes 'I am a new String' and asserts the s... | null |
OpenMined__SyferText__74 | OpenMined/SyferText | 74 | defect | 63932bf418dcf0c42e180afdbe049cb5937ed99f | 95c30ae09d1d112ad552dc6fd97c8abf47fa7c0c | doc owner fix | Fixes #73
We can explicitly assign the `doc.owner = self.owner` when we know that the doc is on a remote worker
@AlanAboudib your review would be helpful | diff --git a/syfertext/pipeline/subpipeline.py b/syfertext/pipeline/subpipeline.py
index c6f8df7ca..ebef32d15 100644
--- a/syfertext/pipeline/subpipeline.py
+++ b/syfertext/pipeline/subpipeline.py
@@ -144,6 +144,9 @@ def __call__(
# Language object to create a DocPointer object
if self.client_id != se... | 4 | 4 | 2 | [{"id": "G0", "claim": "The Doc's owner should be assigned on line 135 right after the first pipe, regardless of where the subpipeline is, instead of only inside the remote-client branch, as the tokenizer's design comment requires.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
OpenMined__SyferText__9 | OpenMined/SyferText | 9 | defect | 98abfc1e94f50e6329333e0acd4994e1e546b117 | d650552d6da2e54fa3345fd53f2edeb8307142f0 | rename getEncryptedVector to get_encrypted_vector | This is a patch for https://github.com/OpenMined/SyferText/issues/8
The output with new logic for doc vectors is as follows
```
>>> doc_vector_enc = doc_ptr.get_encrypted_vector(bob, alice, crypto_provider = crypto_provider)
>>> print(f' Vector size is {doc_vector_enc.shape[0]}')
Vector size is 300
>>> print(d... | diff --git a/syfertext/doc.py b/syfertext/doc.py
index 41bccddb2..47ca31ea7 100644
--- a/syfertext/doc.py
+++ b/syfertext/doc.py
@@ -123,14 +123,10 @@ def __iter__(self):
# Yield a Token object
yield self[i]
- def getEncryptedVector(self, *workers, crypto_provider=None, requires_grad=True... | 5 | 5 | 0 | [{"id": "G0", "claim": "The docstrings of get_vector/get_encrypted_vector in syfertext/doc.py should document the arguments and returned value using Google-style docstrings as in the project's target style.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
OpenModelica__OMPython__295 | OpenModelica/OMPython | 295 | defect | 8d5ca52ac4bc6cc120165f69e0825e0cbc756c28 | ae4855cf70fa3eda6128eb10b9070c3f18f4e926 | Rewrite OMCSessionZMQ | This is now a complete rewrite of OMCSessionZMQ; it is defined on top of PR #300
The main items are still the same as mentioned in the original statement.
Besides the OMCSessionZMQ class there are now several classes which can be used to create the OMC/ZMQ process:
* OMCProcessPort
* OMCProcessLocal
* OMCPro... | diff --git a/OMPython/OMCSession.py b/OMPython/OMCSession.py
index ff1a6cca4..7b8d0595e 100644
--- a/OMPython/OMCSession.py
+++ b/OMPython/OMCSession.py
@@ -35,6 +35,7 @@
"""
import getpass
+import io
import json
import logging
import os
@@ -48,7 +49,7 @@
import sys
import tempfile
import time
-from typing im... | 1 | 1 | 0 | [{"id": "G0", "claim": "Define a proper constructor for OMCProcessDockerHelper that sets the docker arguments via super().__init__ (cooperative multiple inheritance) instead of setting them explicitly in OMCProcessDocker and OMCProcessDockerContainer.", "category": "design", "verdict": "supported", "priority": "P2", "s... | null |
OpenNMS__newts__28 | OpenNMS/newts | 28 | defect | 9e83610811ed3e3b94c498409279133fe69d68d1 | abea19b822bb7cb0181f4c308d396732dce274ea | Added delete operation incl. according REST API | Required by http://issues.opennms.org/browse/HZN-388.
| diff --git a/api/src/main/java/org/opennms/newts/api/SampleRepository.java b/api/src/main/java/org/opennms/newts/api/SampleRepository.java
index 0041c7cb..d3b95b8e 100644
--- a/api/src/main/java/org/opennms/newts/api/SampleRepository.java
+++ b/api/src/main/java/org/opennms/newts/api/SampleRepository.java
@@ -77,4 +77,... | 3 | 3 | 1 | [{"id": "G0", "claim": "m_ttl can be 0 (when rows never expire), and the expected delete behavior in that case is undefined.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The delete method should track its time with a different (dedicated) timer in... | null |
OpenNMT__CTranslate2__1975 | OpenNMT/CTranslate2 | 1,975 | defect | d09369dce26043ebd58543181a489bcbb42dc040 | ce91c9cbe2a14d3c856760c3c6797bb1a1507fe3 | Add optional residual add to gemm op | * Currently fuse residual add with bias/activation. But setup for possible future fusion with gemm e.g. https://github.com/sssshhhhhh/CTranslate2/blob/rocm/src/ops/gemm_gpu.cu
From benchmarking whisper encoder, Add should only be the residual adds so this should save ~3%.
Implementing gemm fusion should then get a fu... | diff --git a/include/ctranslate2/layers/common.h b/include/ctranslate2/layers/common.h
index 137b926d3..300820db5 100644
--- a/include/ctranslate2/layers/common.h
+++ b/include/ctranslate2/layers/common.h
@@ -131,7 +131,7 @@ namespace ctranslate2 {
const bool is_layer_out = false);
DataType output_t... | 1 | 1 | 1 | [{"id": "G0", "claim": "The rewritten post-norm guard should also check _layer_norm (i.e. `if (_layer_norm && !_pre_norm)`, like the analogous code at line 462), since the new `if (!_pre_norm)` alone would invoke (*_layer_norm)(output, output) even when the layer has no layer norm.", "category": "correctness", "verdict... | null |
OpenNMT__CTranslate2__354 | OpenNMT/CTranslate2 | 354 | defect | 4956c0a3d6e9f808930486d2f054f8da9c1e056d | 4492c60dd123380b0d0016c885f35eed51cb0836 | Implements replace unknown target tokens by the source token with the highest attention | Implements replace unknown target tokens by the source token with the highest attention
This mimics OpenNMT-tf which provides this functionality when doing inference | diff --git a/docs/python.md b/docs/python.md
index 9ace81481..d654e195e 100644
--- a/docs/python.md
+++ b/docs/python.md
@@ -63,7 +63,8 @@ output = translator.translate_batch(
return_attention: bool = False, # Include the attention vectors in the output.
return_alternatives: bool = False, # Return alternat... | 8 | 8 | 1 | [{"id": "G0", "claim": "Make replace_unknowns a static free function instead of a member of Translator and remove its declaration from translator.h.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid copying the attention row by binding attention_value... | null |
OpenNMT__OpenNMT-py__1114 | OpenNMT/OpenNMT-py | 1,114 | defect | 24220190ba66cd5a4c3a72f2319b2e8e0cea33ce | 81b5a7f0ae62c85dcdc10f3568c6bf7a4ad2194c | Reduce use of hard-coded values for special symbols, remove unused classes | This pull request removes most usages of the hard-coded `PAD_WORD`, `BOS_WORD`, `EOS_WORD`, and `UNK_WORD`. In the future, it would be good if the preprocessing were more modular -- you should be able to specify your own fields, with whatever tokenizer and special symbols you like, and the rest of the codebase should b... | diff --git a/onmt/inputters/__init__.py b/onmt/inputters/__init__.py
index fd7dae2f9a..a2177cb38f 100644
--- a/onmt/inputters/__init__.py
+++ b/onmt/inputters/__init__.py
@@ -3,24 +3,19 @@
Inputters implement the logic of transforming raw data to vectorized inputs,
e.g., from a line of text to a sequence of embedding... | 5 | 4 | 1 | [{"id": "G0", "claim": "The rewritten check unconditionally requires enc_rnn_size == dec_rnn_size, which breaks audio models that are allowed to have different-sized encoder and decoder RNNs; vince62s asks whether audio needs the difference permitted.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
OpenNMT__OpenNMT-py__1270 | OpenNMT/OpenNMT-py | 1,270 | defect | bf38b6f99ed2e752b330398bd11259f9e876e024 | 207b500a97ece4f2dcc7acd04e450179cf329771 | Refactor, integrate penalties and global scorer into fast translation | **This changes default behavior**!
1) The old master, slow code length penalty returns the *actual* logprobs (penalties.py L80) and the GlobalScorer changes it in place (beam.py L215). That's almost certainly not intended since the other length penalties don't change the probs in place. (**Fixed Master** below slows t... | diff --git a/onmt/tests/test_beam_search.py b/onmt/tests/test_beam_search.py
index 1c5dc0bcab..f9010179a2 100644
--- a/onmt/tests/test_beam_search.py
+++ b/onmt/tests/test_beam_search.py
@@ -9,6 +9,9 @@
class GlobalScorerStub(object):
alpha = 0
+ def __init__(self):
+ self.length_penalty = lambda x, a... | 3 | 1 | 0 | [{"id": "G0", "claim": "The step passed to the length penalty in beam_search.py's advance() should be `step + 1` rather than `step`.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`if step < self.min_length` should be `if step <= self.min_length`: min... | null |
OpenNMT__OpenNMT-py__141 | OpenNMT/OpenNMT-py | 141 | defect | 8563e9a9cbc7a4e0c970a6f86364fdca11be3a7f | d449cb88fa7fa27619b10fbda64c7dddc5a2e48e | Add distinct options for general and dotprod attention | The option for dotprod attention in GlobalAttention in fact matched Luong et al.'s specification of general attention. I fixed the naming of these options and added an attention option that corresponds to the dot product method of scoring in the Luong paper.
I refactored the attention-scoring a little bit so now th... | diff --git a/onmt/Models.py b/onmt/Models.py
index f4152af46e..70861e235a 100644
--- a/onmt/Models.py
+++ b/onmt/Models.py
@@ -28,7 +28,7 @@ def __init__(self, opt, dicts, feature_dicts=None):
self.dropout = nn.Dropout(p=opt.dropout)
self.feature_dicts = feature_dicts
# Feature embeddings.
- ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The inline comment on the out_bias line should be moved onto its own line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The string quoting style should be made consistent between ' and \".", "category": "design", "verdi... | null |
OpenNMT__OpenNMT-py__166 | OpenNMT/OpenNMT-py | 166 | defect | 682b2d9f84d9ffda92d4e7f77f38715b4dc6c06d | 85a5f270cb9bee0831e8c8d44f102a04d737bccb | Fixed embeddings | This pull request adds support fixed word embeddings (that is, embeddings that will not be changed as the parameter is changed) on the source or target side. In order to make this go more smoothly, I also refactored Embeddings -- the constructor now takes the parameters it needs explicitly, instead of just taking the r... | diff --git a/onmt/Models.py b/onmt/Models.py
index 2018624429..c2a72034cb 100644
--- a/onmt/Models.py
+++ b/onmt/Models.py
@@ -11,45 +11,50 @@
class Embeddings(nn.Module):
- def __init__(self, opt, dicts, feature_dicts=None):
+ def __init__(
+ self, dicts, feature_dicts,
+ word_vec_size... | 7 | 7 | 2 | [{"id": "G0", "claim": "Pull the Embeddings class out of Models.py into its own module file, onmt/modules/Embeddings.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Split the single Embeddings class into separate Embeddings and FeatureEmbeddi... | null |
OpenNMT__OpenNMT-py__2059 | OpenNMT/OpenNMT-py | 2,059 | defect | 6078fd3a4c505a288daa73ced03dac4a702a31ca | 4e1fc00682fa0cdeef104469e5b5276f7dc2f2a6 | customizable transform statistics | Currently, `TransformStatistics` only tracks statistics of providing Transforms, we need to modify this class if we want to track statistics from customized Transforms created by ourselves, which is not convenient.
In this PR, we made it possible to track statistics for customized transform.
## Proposal detail
Cur... | diff --git a/onmt/bin/train.py b/onmt/bin/train.py
index ba8f9d3478..7b18fe85b7 100644
--- a/onmt/bin/train.py
+++ b/onmt/bin/train.py
@@ -139,7 +139,7 @@ def train(opt):
opt, fields, transforms_cls, stride=nb_gpu, offset=device_id)
producer = mp.Process(target=batch_producer,
... | 6 | 3 | 1 | [{"id": "G0", "claim": "The transform stats seem to be logged far too frequently and their verbosity should be reduced, e.g. by logging them only at a fixed interval like the valid_steps validation interval.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "c... | null |
OpenNMT__OpenNMT-py__2260 | OpenNMT/OpenNMT-py | 2,260 | defect | 3c4f6bc808d0f35834e2dd4bd7ea746b339921b1 | 4cce13e69e07acbc3dc8df5067a026340f802af2 | Fix tensorboard logging | This PR is a patch for tensorboard logging failure in case where no metrics are calculated.
It includes a test to check for scalars in event files.
The validation in cpu-only mode is re-enabled and tested, as well as dynamic scoring at validation time. | diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 6011b2520c..b5d5451333 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -78,8 +78,11 @@ jobs:
-word_vec_size 5 \
-report_every 5\
-hidden_size 10 \
- -train_steps 10
- - nam... | 2 | 2 | 2 | [{"id": "G0", "claim": "The unconditional/oddly-placed extra reporting at line 272 is not what the trainer should do — report_stats between report_every steps and total_stats cumulating over training should remain the reporting mechanism, so the change should be explained or reworked.", "category": "design", "verdict":... | null |
OpenNMT__OpenNMT-py__229 | OpenNMT/OpenNMT-py | 229 | defect | 8bd780ac9f29b4954bb6fd69fe628f6757c8a31a | 1107ad4d828bcf6d3b6d45a0703fd4b16d9faf0e | Give decoder input an nfeat dimension | This pull request makes a few small changes to IO.py, Models.py, Translator.py, and train.py. The goal of the changes is to make it to get rid of some of the artificial barriers that are currently standing in the way of implementing target features.
I have eliminated two of these obstacles:
1. Previously, `Decode... | diff --git a/onmt/IO.py b/onmt/IO.py
index b607d9b917..4124b2bb80 100644
--- a/onmt/IO.py
+++ b/onmt/IO.py
@@ -56,12 +56,20 @@ def merge_vocabs(vocabs, vocab_size=None):
max_size=vocab_size)
-def make_features(batch, fields):
- # TODO: This is bit hacky, add to batch somehow.
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring of the new make_features documents its parameter as `data` although the parameter is called `batch`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenNMT__OpenNMT-py__230 | OpenNMT/OpenNMT-py | 230 | defect | 8bd780ac9f29b4954bb6fd69fe628f6757c8a31a | 922c1f04aee0a0e3a06c50fc0e639231c8ca4355 | conv2conv contribute | Done:
(1) add args "cnn" in encoder_type and decoder_type
(2) add args "width" to control window size in conv layer
(3) add module file Conv2Conv.py for ConvEncoder and ConvDecoder
(4) add module file ConvAttention.py to support attention for ConvDecoder
(5) add module file WeightNorm.py to support for conv layer... | diff --git a/onmt/Models.py b/onmt/Models.py
index cb598efac2..eca701228a 100644
--- a/onmt/Models.py
+++ b/onmt/Models.py
@@ -31,6 +31,7 @@ class Embeddings(nn.Module):
num_feat_embeddings ([int], optional): list of size of dictionary
of embeddings for each feature.
"... | 17 | 15 | 4 | [{"id": "G0", "claim": "The '-width' option name is too vague and should be renamed to something self-explanatory (kernel_size, or a cnn_-prefixed name) throughout, with its docstring fixed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "WN_Conv2d should... | null |
OpenNMT__OpenNMT-py__2445 | OpenNMT/OpenNMT-py | 2,445 | defect | 8d3b9c519bf6f293028a2cd0002b27e9207e1917 | fa592e7724ddca1c4fa06d67be14f582de2f09b3 | Tensor Parallelism Training and Inference | Goal is to use torch.distributed and split Modules when possible (along Columns or Rows) so that bigger models can be split across multiple GPU.
New option: parallel_mode = "data_parallel" by default, and "tensor_parallel" to activate tensor parallelism.
| diff --git a/eval_llm/MMLU/run_mmlu_opennmt.py b/eval_llm/MMLU/run_mmlu_opennmt.py
index 2dd8cfbf23..1831fe6c65 100644
--- a/eval_llm/MMLU/run_mmlu_opennmt.py
+++ b/eval_llm/MMLU/run_mmlu_opennmt.py
@@ -1,16 +1,13 @@
"""
Code taken and adapted from https://github.com/FranxYao/chain-of-thought-hub
"""
+
import j... | 6 | 5 | 1 | [{"id": "G0", "claim": "The new multiprocessing inference paradigm introduced by this PR should be explicitly documented somewhere.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out world_size/parallel_mode/device_id arguments in th... | null |
OpenNMT__OpenNMT-py__246 | OpenNMT/OpenNMT-py | 246 | defect | 5c6e8f844fb573593b2c70e36e232bc341d6df90 | dc6803c2815ce6b4191972fb2a00977976a9fa19 | Slim Models.py | Since https://github.com/OpenNMT/OpenNMT-py/pull/230 is merged, we can slim `Models.py` a little bit. Ideally, when the `Encoder` refactor work is done and `Embeddings` is moved to its own file. `Models.py` should contain only these:
1. `make_base_model()`, `make_embeddings()`, `make_encoder()`, and `make_decoder... | diff --git a/onmt/Models.py b/onmt/Models.py
index 4504a2dee7..565d664799 100644
--- a/onmt/Models.py
+++ b/onmt/Models.py
@@ -2,13 +2,18 @@
import torch
import torch.nn as nn
from torch.autograd import Variable
+from torch.nn.utils.rnn import pad_packed_sequence as unpack
+from torch.nn.utils.rnn import pack_padded... | 2 | 2 | 2 | [{"id": "G0", "claim": "Move the init_decoder_state() method out of the NMTModel class so that each decoder carries its own state-initialisation logic.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DecoderState class does not belong in Translator.py... | null |
OpenNMT__OpenNMT-py__2467 | OpenNMT/OpenNMT-py | 2,467 | defect | eb24258a00f7fdb65ef95fd1879e0f8c795e1d65 | 140887c983dbe6029e0666f6cfc33f37c5007e46 | Zero-out the prompt loss | This PR allows to zero-out the prompt loss when finetuning an LLM on a specific task.
This mechanism is mentioned in several papers, including [Self-Instruct: Aligning Language Models with Self-Generated Instructions](https://arxiv.org/abs/2212.10560) and the Llama2 paper.
To enable it, the `zero_out_prompt_loss` ... | diff --git a/docs/source/quickstart.md b/docs/source/quickstart.md
index 89826202c4..c37fd43633 100644
--- a/docs/source/quickstart.md
+++ b/docs/source/quickstart.md
@@ -354,6 +354,15 @@ dropout_steps: [0]
dropout: [0.0]
attention_dropout: [0.0]
```
+If you want to enable the "zero-out prompt loss" mechanism to ign... | 4 | 3 | 0 | [{"id": "G0", "claim": "Instead of inserting a MASK_BEFORE placeholder between prompt and answer, the PR could require the data to be prepared as SRC=prompts and TGT=answers, which would be easier.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The apply... | null |
OpenNMT__OpenNMT-py__260 | OpenNMT/OpenNMT-py | 260 | defect | 0de9c039367b9f8ff3adf30f9e07196d1e2c6016 | e9a07dba116d98e00f65a1d89612da66c078e5cd | Add support for "Training RNNs as fast as CNNs" | This PR addresses Issue https://github.com/OpenNMT/OpenNMT-py/issues/251, trying to incorporate the author's implementation into our project. I am doing this by adding a new `-rnn_type`: **SRU** in `RNNEncoder` and `StdRNNDecoder`, not to create a new `SRUEncoder` and `SRUDecoder`. I think this makes much more sense - ... | diff --git a/README.md b/README.md
index 9b9d792c6c..6f88dedc5e 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# PyOpenNMT: Open-Source Neural Machine Translation
+# OpenNMT-py: Open-Source Neural Machine Translation
This is a [Pytorch](https://github.com/pytorch/pytorch)
port of [OpenNMT](https://github.c... | 3 | 3 | 1 | [{"id": "G0", "claim": "The no_pack_padded_seq setting should not be an option that users know about; it should be set automatically when they pass SRU.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CheckSRU argparse action should be put in the SRU ... | null |
OpenNMT__OpenNMT-py__493 | OpenNMT/OpenNMT-py | 493 | defect | 1695edca82f35fc30c7d56904b903cef36528e58 | 5226e0bcdcb42b2d2d8806134599b70a5249d8a1 | Add a Bleu/Rouge report during translation | Hi, I find it's tedious to run perl scripts to test bleu after I run ```python translate.py```, and I also find the 'Example: Summarization' uses files2rouge, which cannot be set up in my python3 environment. So I insert ```report_bleu``` and ```report_rouge``` (which depends on pyrouge) into ```translate.py```. For t... | diff --git a/opts.py b/opts.py
index ebb67d07bd..ba2f9158e4 100644
--- a/opts.py
+++ b/opts.py
@@ -359,6 +359,10 @@ def translate_opts(parser):
group.add_argument('-output', default='pred.txt',
help="""Path to output the predictions (each line will
be the decoded seq... | 5 | 5 | 1 | [{"id": "G0", "claim": "The ROUGE report uses pyrouge as backend and so may score slightly differently from other methods, and this should be documented exactly.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The report_*() functions, including re... | null |
OpenNMT__OpenNMT-py__713 | OpenNMT/OpenNMT-py | 713 | defect | 0ecec8b4c16fdec7d8ce2646a0ea47ab6535d308 | 9d51f2c78b6bd73ab977c45c0110250b9694404c | pytorch 0.4 | add retain_graph=True and do conversions to get correct accuracy numbers. | diff --git a/onmt/Loss.py b/onmt/Loss.py
index 2dfea00c61..67eeb7afa3 100644
--- a/onmt/Loss.py
+++ b/onmt/Loss.py
@@ -121,7 +121,7 @@ def sharded_compute_loss(self, batch, output, attns,
for shard in shards(shard_state, shard_size):
loss, stats = self._compute_loss(batch, **shard)
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Normalization must be cast to float before loss.div(), otherwise .div() returns a LongTensor instead of a FloatTensor.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__100 | OpenNebula/terraform-provider-opennebula | 100 | defect | c73eabbee0d6db9dc4c45c2443c87a0bab671fb6 | 77afe56dc92c025ff72a30612085e929288ea3da | B #97: VM template_id: read disk-nic separately | Fix #97: Modify the VM schema and read step to differentiate how we process the disk added via the template, and the disk added via the TF file.
By the way there is a bit of refactoring around how I mix schemas for disk and NIC introducing the `mergeSchemas` method to add a bit of flexibility. | diff --git a/opennebula/helpers.go b/opennebula/helpers.go
index 9874d3120..29d1233f8 100644
--- a/opennebula/helpers.go
+++ b/opennebula/helpers.go
@@ -129,3 +129,17 @@ func diffListConfig(refVecs, vecs []interface{}, s *schema.Resource, attrNames .
return mSet.List(), pSet.List()
}
+
+func mergeSchemas(schema ma... | 2 | 1 | 0 | [{"id": "G0", "claim": "The computed attribute should be named `computed_disk`/`computed_nic` instead of `template_disk`/`template_nic`, or the schema builder functions (diskComputedVMSchema/nicComputedVMSchema) should be renamed to match the attribute names.", "category": "design", "verdict": "supported", "priority": ... | null |
OpenNebula__terraform-provider-opennebula__103 | OpenNebula/terraform-provider-opennebula | 103 | defect | 5fd44a97f4b398b4a9416506adda2e0adca5e628 | 8a39dd26409fd36d4094882517b5014deb2f9db0 | Added cpu model support #2 | @jaypif Please review this PR for adding cpu model support. This is from current master | diff --git a/opennebula/resource_opennebula_virtual_machine.go b/opennebula/resource_opennebula_virtual_machine.go
index bc3a681ca..483894cad 100644
--- a/opennebula/resource_opennebula_virtual_machine.go
+++ b/opennebula/resource_opennebula_virtual_machine.go
@@ -123,10 +123,25 @@ func resourceOpennebulaVirtualMachine... | 2 | 2 | 2 | [{"id": "G0", "claim": "The cpumodel schema block must be declared in shared_schemas.go (instead of inline in resource_opennebula_virtual_machine.go) so that it is also used by VM templates.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "cpumodel does no... | null |
OpenNebula__terraform-provider-opennebula__143 | OpenNebula/terraform-provider-opennebula | 143 | defect | 2017157074fc8d37a7959d3ac28573898f25918f | 6901e4a8bc3c0412a79b7347cb3587d44839a826 | B-142: several nics same vnet | This PR also try to fix the case when using some `template_id` with predefined NIC | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3087e8a6a..e08dfbdaa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 0.4.0 (Unreleased)
+
+BUG FIXES:
+* resources/opennebula_virtual_machine: Fix several NICs attached to the same network
+
## 0.3.0 (December 17, 2020)
FEATURES:
diff --git a/opennebul... | 5 | 5 | 1 | [{"id": "G0", "claim": "The comment above the NIC list retrieval should say 'NIC' instead of 'disk' ('Retrieve disk list' in the new attach helper).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment in the detach-selection logic should re... | null |
OpenNebula__terraform-provider-opennebula__145 | OpenNebula/terraform-provider-opennebula | 145 | defect | 2017157074fc8d37a7959d3ac28573898f25918f | 8945f9ecaee0ed7d8bce9300685be4d729162dce | F-27: enable vm config update | Allow to update CONTEXT, OS, GRAPHICS parts of a virtual machine.
Related issues: #27 #134 #63 | diff --git a/opennebula/resource_opennebula_virtual_machine.go b/opennebula/resource_opennebula_virtual_machine.go
index 1f5646f42..1495374ba 100644
--- a/opennebula/resource_opennebula_virtual_machine.go
+++ b/opennebula/resource_opennebula_virtual_machine.go
@@ -959,6 +959,7 @@ func resourceOpennebulaVirtualMachineUp... | 3 | 2 | 1 | [{"id": "G0", "claim": "The provider documentation should be updated to state that context updates are only possible from OpenNebula release 5.10, since changing context on older releases has no effect.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
OpenNebula__terraform-provider-opennebula__148 | OpenNebula/terraform-provider-opennebula | 148 | defect | 2017157074fc8d37a7959d3ac28573898f25918f | 11012680f457b5d7d059519c31014c0ef0a3ffc8 | VM: optionally preserve nic ordering | Allow (optionally) to preserve VM nic ordering on update | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3087e8a6a..0d786a6b4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 0.4.0 (Unreleased)
+
+FEATURES:
+* resources/opennebula_virtual_machine: Optionally preserve NIC ordering
+
## 0.3.0 (December 17, 2020)
FEATURES:
diff --git a/opennebula/resource_ope... | 2 | 2 | 1 | [{"id": "G0", "claim": "The in-code comment '// disks with greater nic ID should be detached' should say NICs instead of disks.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case for the keep_nic_order feature; unit/acceptance tests on... | null |
OpenNebula__terraform-provider-opennebula__153 | OpenNebula/terraform-provider-opennebula | 153 | defect | 2017157074fc8d37a7959d3ac28573898f25918f | 6baaff5e802230346db339a447debfe63416f025 | F-65: enable resource locking | Enable locking for VM, VNet, Template resources.
Miss acceptance testing | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3087e8a6a..5434f1e46 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+## 0.4.0 (Unreleased)
+
+Features:
+
+* resources/opennebula_virtual_machine: Enable locking
+* resources/opennebula_virtual_network: Enable locking
+* resources/opennebula_template: Enable... | 2 | 2 | 1 | [{"id": "G0", "claim": "The word introducing the 0.4.0 feature list in CHANGELOG.md should start with a capital letter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lock schema in shared_schemas.go should not be declared Computed.", "categor... | null |
OpenNebula__terraform-provider-opennebula__154 | OpenNebula/terraform-provider-opennebula | 154 | defect | 0a1e8b2e431733372dd7a3437a2cf8ce72d57091 | f62a2de1afff2e1023dd6d3bfa9541f40980a506 | F-26: new vm template attributes | adds hypervisor, description, user_inputs, sched_requirements sections to VM and Template resources schemas.
There is no acceptance test for these attributes for now | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3087e8a6a..72edbe567 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## 0.4.0 (Unreleased)
+
+FEATURES:
+* resources/opennebula_virtual_machine: Add description, user_inputs, sched_requirements
+* resources/opennebula_template: Add description, sched_requirem... | 4 | 4 | 1 | [{"id": "G0", "claim": "Image update should batch all changed attributes into a single update call, the way template and VM updates already do, instead of issuing one update per attribute.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The schedReqSchema... | null |
OpenNebula__terraform-provider-opennebula__168 | OpenNebula/terraform-provider-opennebula | 168 | defect | 9ac5d6a0e125d0db7f93f215ddae65605556f185 | a56c59ca21e7a5e03f902d28f46b2dad0b8ebdef | B-167: restore master branch stability | this PR fix:
- mainly VM disk and NIC updates code and related acceptance tests
- vm deletion in HOLD state
- a bit of refactoring to simplify the code with helper `emptyOrEqual`
- virtual network: simplify a bit AR reading, and fix locking code | diff --git a/opennebula/resource_opennebula_virtual_machine.go b/opennebula/resource_opennebula_virtual_machine.go
index 27edc9bcd..d57c0ffd4 100644
--- a/opennebula/resource_opennebula_virtual_machine.go
+++ b/opennebula/resource_opennebula_virtual_machine.go
@@ -21,6 +21,7 @@ var (
vmDiskUpdateReadyStates = []strin... | 2 | 2 | 0 | [{"id": "G0", "claim": "The inline security_groups comparison in matchNIC should be moved into a function for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline AR-matching condition in matchARs should be moved into a functio... | null |
OpenNebula__terraform-provider-opennebula__170 | OpenNebula/terraform-provider-opennebula | 170 | defect | d688ed2df818bf10c9ef248a81074a18758bcec8 | 897f0da69cf9927cc9d011860bb8e27060398723 | F-32: add virtual router resource | Add new virtual router resource and modify related resource: template and virtual machine | diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1383382c..79f47f12e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ NOTES:
FEATURES:
* **New Data Source**: `opennebula_cluster`: allow filtering based on `name` and `tags`
+* **New Resources**: `opennebula_virtual_router`, `opennebula_virtual_router_inst... | 5 | 4 | 4 | [{"id": "G0", "claim": "The virtual router should follow the Sunstone workflow to stay consistent with the GUI: create a virtual router template as its own resource, then instantiate it as a separate resource, rather than the current single-resource design.", "category": "design", "verdict": "supported", "priority": "P... | null |
OpenNebula__terraform-provider-opennebula__222 | OpenNebula/terraform-provider-opennebula | 222 | defect | 63412a84f8ee5c23b7271f63a0d94691da281d29 | 517cbdeac9490694b4faac480a6bc7731bc664e2 | B-220: template: fix template update | The template resource has some faulty update code in `resourceOpennebulaTemplateUpdate`:
```
if d.HasChange("tags") {
tagsInterface := d.Get("tags").(map[string]interface{})
for k, v := range tagsInterface {
tpl.Template.Del(strings.ToUpper(k))
tpl.Template.AddPair(strings.ToUpper(k), v.(string))
}
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9e626199d..6afcf29d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@ BUG FIXES:
* resources/opennebula_virtual_machine: fix description duplication
* resources/opennebula_template: check fields at read
+* resources/opennebula_template: fix template update
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The PR still needs updating to fix the escaping of double quotes in a sched_requirements value such as \"CLUSTER_ID!=\\\\\\\"123\\\\\\\"\" when the template is updated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Some use ... | null |
OpenNebula__terraform-provider-opennebula__24 | OpenNebula/terraform-provider-opennebula | 24 | defect | 71e38268185123de44275b7801d5214647cd1e86 | c8e955dca8f5d42c47dcdd944ce136f8357d4aaf | enhance template schema | Enhance template schema and share common parts with VM entity
Solve issue #15
And fix #23 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b2e5785b..1f30e9359 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ BUG FIXES:
DEPRECATION:
* resource/opennebula_virtual_machine: Remove `instance` parameter as it is redundant with `name`
+* resource/opennebula_template: Remove `template` parameter to... | 8 | 8 | 6 | [{"id": "G0", "claim": "The new `pairs` schema section is very close to the existing tags support (#22) and should be renamed to `tags` instead of `pairs`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The template resource is missing schema sections th... | null |
OpenNebula__terraform-provider-opennebula__251 | OpenNebula/terraform-provider-opennebula | 251 | defect | fdd10fd96b9f58a4327182de32c768971acc50ac | e88d1b7be4c15768f85cc37b796c28c8ae7229f3 | F-248: group template | This PR deprecate the `template` attribute and to provide a replacement.
The goal is to manage group templates like it's done in other resources via some additional static sections and a dynamic `tags` section.
Close #248 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e1e9384bb..f0ec1ede4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ ENHANCEMENTS:
* data/opennebula_virtual_data_center: make `name` optional and add `tags` filtering
* data/opennebula_virtual_network: make `name` optional and enable `tags` filtering
* r... | 2 | 2 | 2 | [{"id": "G0", "claim": "The documentation committed in website/docs/r/group.html.markdown still contains an unresolved git conflict block (`<<<<<<< HEAD` ... `>>>>>>> e10593ff`) left in the file.", "category": "documentation", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
OpenNebula__terraform-provider-opennebula__270 | OpenNebula/terraform-provider-opennebula | 270 | defect | d688ed2df818bf10c9ef248a81074a18758bcec8 | d25166f26de00e534d41e4ac8f94d270e99a94c9 | update dependencies and check for virtual network state | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/go.mod b/go.mod
index d8fd362be..2ef9be970 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,8 @@ module github.com/OpenNebula/terraform-provider-opennebula
go 1.13
require (
- github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20210824074935-e55e3a53c4c0
+ github.com/OpenNebula/one/src/oca/go/src/goca v0.... | 1 | 1 | 0 | [{"id": "G0", "claim": "Please update the CHANGELOG to document the pull request's changes (goca 6.4 dependency update and virtual network state compatibility).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__272 | OpenNebula/terraform-provider-opennebula | 272 | defect | 1698a137a9bbdfaf308d451232dd161886edd904 | b65db29a486a86167789b4de531b2d480f219ca6 | [resource][virtual_network]: add NETWORK_ADDRESS and SEARCH_DOMAIN attributes | Just like described in the documentation:
https://docs.opennebula.io/6.4/management_and_operations/references/vnet_template.html?highlight=network_address#contextualization-attributes | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c8095cf4b..3f93cb189 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,7 @@ ENHANCEMENTS:
* data/opennebula_virtual_network: make `name` optional and enable `tags` filtering
* resources/opennebula_group: add `sunstone` and `tags` sections
* resources/opennebula_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The one-line descriptions added for the `network_address` and `search_domain` arguments should be expanded with more words, following the OpenNebula vnet_template documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__273 | OpenNebula/terraform-provider-opennebula | 273 | defect | 376ab4d45d7773a13184495c1c4b9c7fc8eb3dfe | 459e4d76bed623796f078075bb3e1f1d724dd238 | F-212: Enable VM resize | This is a PR that apply some small changes to #211 authored by @Cookiiiies
The option `poweroff_hard_on_resize` has been renamed, to be able to use for all VM actions (not only on resize).
By the way, this option has been used for the terminate action used to delete the VM.
This change a bit the behavior of the... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 332d7f076..a45af12a9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,7 @@ ENHANCEMENTS:
* data/opennebula_virtual_network: make `name` optional and enable `tags` filtering
* resources/opennebula_group: add `sunstone` and `tags` sections
* resources/opennebula_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new CHANGELOG entry is unclear and should add markdown (backticks) around `vcpu`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__274 | OpenNebula/terraform-provider-opennebula | 274 | defect | ca6d4dac1881bde03c15659ea58420abe84e6b4a | bdfeee35748847e6e374f9f9dd109435670e1474 | Allow setting of first ip for network reservations | This is a PR that apply some small changes to https://github.com/OpenNebula/terraform-provider-opennebula/pull/185 authored by @danhigham | diff --git a/CHANGELOG.md b/CHANGELOG.md
index de551bd0e..647c1700c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,14 @@
+## 1.0.0 (Unreleased)
+
+FEATURES:
+
+* **New Resource**: `opennebula_virtual_network_address_range` (#279)
+
+DEPRECATION:
+
+* resources/opennebula_virtual_network: deprecated `ar` and `h... | 2 | 2 | 1 | [{"id": "G0", "claim": "The unresolved merge-conflict marker `<<<<<<< HEAD` left in the docs hcl example should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG entry should read `add attributes reservation_first_ip and reser... | null |
OpenNebula__terraform-provider-opennebula__275 | OpenNebula/terraform-provider-opennebula | 275 | defect | a75a71fe5a9abbc2a7061d49a5cb5f754d3b6cc8 | fd8beb58746ac07b72a968547ce887bd97ce7fdb | B-268: fix tags | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0b301bda5..890c42b88 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@ ENHANCEMENTS:
* resources/opennebula_group: add `sunstone` and `tags` sections
* resources/opennebula_virtual_network: compatibility added for network states
* resources/opennebula_virta... | 3 | 3 | 0 | [{"id": "G0", "claim": "The CHANGELOG entry for the user resource is missing a space between 'add' and '`tags`'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an example in the HCL sample of the user docs instead of the inline '(Key = value)'... | null |
OpenNebula__terraform-provider-opennebula__298 | OpenNebula/terraform-provider-opennebula | 298 | defect | dcca64db21443704e941cba928b5bbcb66aef1d8 | 800118c0d670dc31b7e6009a6e925ad149fd9f98 | B #278: fix integer conversions | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/opennebula/resource_opennebula_acl_test.go b/opennebula/resource_opennebula_acl_test.go
index 41e576595..882fd42e6 100644
--- a/opennebula/resource_opennebula_acl_test.go
+++ b/opennebula/resource_opennebula_acl_test.go
@@ -62,7 +62,7 @@ func testAccCheckACLDestroy(s *terraform.State) error {
}
for _... | 1 | 1 | 0 | [{"id": "G0", "claim": "Please add a Changelog entry for the pull request's changes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__306 | OpenNebula/terraform-provider-opennebula | 306 | defect | ca6d4dac1881bde03c15659ea58420abe84e6b4a | f5416039eb98d770c6e08e8ab70e83b0dd5d2921 | F-279: introduce vnet ar | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index de551bd0e..2e6bb70b9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,14 @@
+## 1.0.0 (Unreleased)
+
+FEATURES:
+
+* **New Resource**: `opennebula_virtual_network_address_range` (#279)
+
+DEPRECATION:
+
+* resources/opennebula_virtual_network: deprecated `ar` and `h... | 2 | 2 | 1 | [{"id": "G0", "claim": "The hold_ips deprecation message is missing the word 'use' and should read like the ar field's deprecation message.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The removed acceptance tests asserting the deprecated ar and... | null |
OpenNebula__terraform-provider-opennebula__362 | OpenNebula/terraform-provider-opennebula | 362 | defect | 3864b58ef5005ded2dbf629ce16a3461185195a2 | 56065d63489447e2dced54f9bd6c15c23a1acec6 | F-359: manage template vectors | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6b1cae2e9..29237dc36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,32 @@
+# 1.1.0 (Unreleased)
+
+FEATURES:
+
+* **New Resource**: `opennebula_cluster` (#227)
+* resources/opennebula_cluster: add `template_section` to manage vectors with an unique key (#359)
+* r... | 1 | 1 | 1 | [{"id": "G0", "claim": "The nested attribute of `template_section` named `tags` should be named `elements`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__502 | OpenNebula/terraform-provider-opennebula | 502 | defect | 9ded40f3d5fe436219812e7ad4899ecefb4b8552 | 83199a04c4ef40f1ef39d2cf587466cf39c2f302 | F-477: add nic scheduling attributes | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index a24ee7a56..678d48337 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ FEATURES:
* **New Resource**: `opennebula_marketplace_appliance` (#476)
* **New Data Source**: `opennebula_marketplace_appliance` (#476)
+ENHANCEMENTS:
+
+* resources/opennebula_virtual_... | 4 | 2 | 1 | [{"id": "G0", "claim": "The documentation should be updated because `network_id` is now only required when `network_mode_auto = false` (the change makes it optional with default -1), but the nic docs still list `network_id` as (Required).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope":... | null |
OpenNebula__terraform-provider-opennebula__538 | OpenNebula/terraform-provider-opennebula | 538 | defect | 83a9cb5b106b58129a0e4a652b6b4c0d639d8137 | 0e1799d56a72719d2452f8573de8bc0cbc4ca56a | B #537: Make Virtual Router's instances re-contextable. | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1ad24983d..248e13ad2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ FEATURES:
* resources/opennebula_virtual_network: allow to modify the user owning the resource (#529)
+BUG FIXES:
+
+* resources/opennebula_virtual_router_instance: fix re-contextualiza... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new template_id guard wrongly wraps the template_disk/template_tags/template_section_names handling, since it is possible to inherit disks and tags from the virtual router instance template; only the template_nic code may be irrelevant here.", "category": "correctness", "verdict": "supported... | null |
OpenNebula__terraform-provider-opennebula__613 | OpenNebula/terraform-provider-opennebula | 613 | defect | 13cb100dd6387cdf759c86694a7acd07700116fc | c5193e1c2552908072870eb4eb310b7da45b0bed | M #-: OneFlow 7.0 compatibility | <!--- Please keep this note for the community --->
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not l... | diff --git a/opennebula/resource_opennebula_service.go b/opennebula/resource_opennebula_service.go
index decc5968c..098ae472e 100644
--- a/opennebula/resource_opennebula_service.go
+++ b/opennebula/resource_opennebula_service.go
@@ -3,6 +3,7 @@ package opennebula
import (
"context"
"encoding/json"
+ "errors"
"fm... | 1 | 1 | 0 | [{"id": "G0", "claim": "Incorrect conversion of an architecture-dependent-size integer from strconv.Atoi to int8 without an upper bound check in convertPermissions.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenNebula__terraform-provider-opennebula__80 | OpenNebula/terraform-provider-opennebula | 80 | defect | 7b3a7efab491b183f0260f8025424df0fe547040 | f5eb88beeee78b0ed3a4063b83954fd408590654 | F-72: Allow update of VM NICs and update disks for consistency | This PR allow to update the NICs of a VM in a RUNNING/POWEROFF state.
But overall, the behaviour is the same that for disk update in #59
This PR remove some computed attributes around that were not useful.
I updated helpers that make diffs on list of configs (NIC, disk...)
One change that doesn't impact much ... | diff --git a/opennebula/helpers.go b/opennebula/helpers.go
index 375059bec..929a9e177 100644
--- a/opennebula/helpers.go
+++ b/opennebula/helpers.go
@@ -92,3 +92,79 @@ func NoExists(err error) bool {
return false
}
+
+// collect config IDs
+func collectListIDs(list []interface{}, attrName string) []int {
+
+ ids :... | 6 | 5 | 2 | [{"id": "G0", "claim": "The new diffIDs helper seems to do the opposite of what is intended.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The error message in vmNICAttach reports 'can't attach image with ID' where the operation attaches a NIC, so it... | null |
OpenNebula__terraform-provider-opennebula__93 | OpenNebula/terraform-provider-opennebula | 93 | defect | 4d9973fc5723aa7a9f04295a23fc6f11a5c8b17c | 1c4cf4cbb06125e086d39a2e68107b40864783ec | B-92: Fix quotas in terraform state | Fix #92 | diff --git a/opennebula/quotas.go b/opennebula/quotas.go
index 9c72e787f..304f1ff4d 100644
--- a/opennebula/quotas.go
+++ b/opennebula/quotas.go
@@ -144,8 +144,12 @@ func generateQuotas(d *schema.ResourceData) string {
datastoreMap := datastore[i].(map[string]interface{})
datastoreTpl.AddPair("ID", datastoreMap... | 2 | 1 | 0 | [{"id": "G0", "claim": "The case-per-combination switch in flattenQuotasMapFromStructs duplicates code and should be replaced by a loop over explicit flag bits that fills one shared map and makes a single d.Set call after the loop, optionally with bitset helper functions, to improve readability.", "category": "maintain... | null |
OpenNeuroOrg__openneuro__2054 | OpenNeuroOrg/openneuro | 2,054 | defect | 16e0151fa2989201ee79d7283671626e41cf9ba7 | 59a7d65d4a0e4f858aa1de2ef32d26df5e314dfd | Mongoose upgrade | Addresses: #2044
- `yarn tsc -b` builds successfully
- Upgraded Mongoose to 5.12.3.
- Updated models to be in TypeScript
- Updated .js model imports to .ts
| diff --git a/packages/openneuro-app/src/client.jsx b/packages/openneuro-app/src/client.jsx
index 80cbba6e6a..4a4694b0a1 100644
--- a/packages/openneuro-app/src/client.jsx
+++ b/packages/openneuro-app/src/client.jsx
@@ -56,7 +56,7 @@ ReactDOM.render(
<ApolloProvider
client={createClient(`${config.url}/crn/gr... | 3 | 3 | 0 | [{"id": "G0", "claim": "The reviewer asks what required changing @ts-expect-error to @ts-ignore in add-metadata.jsx (and client.jsx), questioning the weakening of the suppression directive.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The leve... | null |
OpenNeuroOrg__openneuro__2193 | OpenNeuroOrg/openneuro | 2,193 | defect | 55b9ae6245d06ab1f609ffb7f61700a22d6befb9 | a2bf46122cca1a6ef91fed0e93962956b20092ab | sprint 9 review updates | gitlab issues
- [x] 228
- [x] 245
- [x] 239
- [x] 257
- [x] 256
- [x] 241
- [x] 230
- [x] 260
- [x] 204
- [x] 214
- [x] 258
- [x] 242
| diff --git a/.pnp.js b/.pnp.js
index 2234485f14..b93e419e57 100755
--- a/.pnp.js
+++ b/.pnp.js
@@ -27079,7 +27079,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
]],
["git-win", [
["npm:2.3.0", {
- "packageLocation": "./.yarn/unplugged/git-win-npm-2.3.0-b98f2b7122/node_modul... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the mock front-page content, the wording \"a variety of analysis and processing software in the browser.\" should be changed to \"...applications in the browser.\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
OpenNeuroOrg__openneuro__2532 | OpenNeuroOrg/openneuro | 2,532 | defect | d1c805d4a2441888e44d31dc5a657fd6568e3d87 | 2edea0edf6ff4223d66d72567989a0ed58a6876d | fix(app): Link to snapshot download page from snapshots | Replaces DatasetTools isSnapshot with a snapshot id to allow for this link to work.
Fixes #2526 | diff --git a/packages/openneuro-app/src/scripts/refactor_2021/dataset/draft-container.tsx b/packages/openneuro-app/src/scripts/refactor_2021/dataset/draft-container.tsx
index 0c49b9962b..8e81cbedb2 100644
--- a/packages/openneuro-app/src/scripts/refactor_2021/dataset/draft-container.tsx
+++ b/packages/openneuro-app/src... | 1 | 1 | 1 | [{"id": "G0", "claim": "When a logged-in user opens a published dataset they own, which defaults to the draft view where snapshotId is undefined, following the new download link (to /datasets/{id}/versions/undefined/download) makes the API produce a 5xx error.", "category": "correctness", "verdict": "supported", "prior... | null |
OpenNeuroOrg__openneuro__3476 | OpenNeuroOrg/openneuro | 3,476 | defect | 2549cdf1a4ce9176c88bd39a46781747061c571b | 6ae6638924c9c93a663287e9bc61f79ba682f808 | feat(cli): Add support for symlinked content during uploads | This will traverse symlinks during CLI uploads. This is for the current mode of creating a managed annex repo during upload.
Fixes #3421 | diff --git a/cli/src/commands/upload.ts b/cli/src/commands/upload.ts
index 73e3602dea..230f34fa2c 100644
--- a/cli/src/commands/upload.ts
+++ b/cli/src/commands/upload.ts
@@ -38,7 +38,7 @@ export async function addGitFiles(
for await (
const walkEntry of walk(dataset_directory_abs, {
includeDirs: false,
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Resolving the real path before createReadStream in annexAdd looks unnecessary — opening a symlinked file should be transparent, so includeSymlinks: true may already be enough and the extra call should be dropped or justified.", "category": "design", "verdict": "supported", "priority": "P2", "sco... | null |
OpenOrienteering__mapper__1292 | OpenOrienteering/mapper | 1,292 | defect | 271fcf7f042fd3f14cec8f57b8c69e0f63af4839 | 98a4a5af42244fa6bb366f709015b5158835bc7d | TemplateTransform: allow any affine transformation | Enhances `fromQTransform` and `struct TemplateTransform` to fully reflect the
affine transformation that defines them.
This PR does not require #1277, though the need for each PR may arise in related circumstances.
In comparison to the approach taken with #1277, this PR is lighter weight. Rather than add to or r... | diff --git a/src/fileformats/ocad8_file_format.cpp b/src/fileformats/ocad8_file_format.cpp
index 6661d1e1d5..540afd0876 100644
--- a/src/fileformats/ocad8_file_format.cpp
+++ b/src/fileformats/ocad8_file_format.cpp
@@ -1227,6 +1227,7 @@ Template *OCAD8FileImport::importTemplate(OCADCString* ocad_str)
templ->setTempla... | 8 | 6 | 0 | [{"id": "G0", "claim": "The continuation lines of the new QTransform in ApplyTemplateTransform::operator() are indented wrongly.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It would make sense to rewrite the functor to create a single QTransform in its... | null |
OpenOrienteering__mapper__1309 | OpenOrienteering/mapper | 1,309 | defect | 7bd412ae025b1e15003f3f3d7cab2d13d0d2664a | cecbaebb0631d090ae7259b9b8fcc4524ed13e68 | MapGrid: Fix offset direction | When the Map Grid is enabled, a negative rotation leads to offsets being interpreted in the wrong direction.
To reproduce,
1. Configure the grid to be visible with an additional rotation of -20°, and a vertical offset of 30 meters.
1. The horizontal lines show up offset downwards, whereas a positive vertical off... | diff --git a/src/core/map_grid.cpp b/src/core/map_grid.cpp
index fc4d14d0eb..88425a0072 100644
--- a/src/core/map_grid.cpp
+++ b/src/core/map_grid.cpp
@@ -136,7 +136,7 @@ void MapGrid::draw(QPainter* painter, const QRectF& bounding_box, Map* map, qrea
if (display == AllLines)
Util::gridOperation<ProcessLine>(bound... | 4 | 4 | 2 | [{"id": "G0", "claim": "Spell-correct the misspelled \"VeritcalLines\" in the else-branch comment of MapGrid::draw.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "dg0yt would prefer the negative-rotation branch to read \"rotation += 2 * M_PI;\" ... | null |
OpenOrienteering__mapper__1349 | OpenOrienteering/mapper | 1,349 | defect | 41672a808234e893596e5b7497660c0d461671b9 | 5b2d42a2f3f4c83c908f24f86cc35a7e69231615 | Corner point "click in" editing mode | Implementation of GH-1345 enhancement.

| diff --git a/src/core/objects/object_mover.cpp b/src/core/objects/object_mover.cpp
index 98be6d3d1..ad444d2b3 100644
--- a/src/core/objects/object_mover.cpp
+++ b/src/core/objects/object_mover.cpp
@@ -33,7 +33,11 @@
namespace OpenOrienteering {
ObjectMover::ObjectMover(Map* map, const MapCoordF& start_pos)
- : star... | 8 | 8 | 0 | [{"id": "G0", "claim": "The constant member initializations in the ObjectMover constructor should be moved to the member variable declarations.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "forms_a_corner does not conform to the project's funct... | null |
OpenOrienteering__mapper__1487 | OpenOrienteering/mapper | 1,487 | defect | 6c5150f1216367c2d89b3b0469b8874b5adbf9ac | 62af416dc2feb10b192cf5bc6fd9baf41fea9e71 | Revise CoVe concurreny and progress handling | The Concurrency unit (plus ProgressObserver) is what might be used for Mapper, too. | diff --git a/3rd-party/cove/CMakeLists.txt b/3rd-party/cove/CMakeLists.txt
index 3b0ddeeab1..18bf63a4da 100644
--- a/3rd-party/cove/CMakeLists.txt
+++ b/3rd-party/cove/CMakeLists.txt
@@ -16,11 +16,13 @@ target_include_directories(cove-potrace INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
add_library(cove-vectorizer STATIC
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `libvectorizer/` path prefix in FIRFilter.cpp's `#include \"libvectorizer/ProgressObserver.h\"` is not needed after the move of the FIRFilter sources.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ProgressObs... | null |
OpenOrienteering__mapper__1681 | OpenOrienteering/mapper | 1,681 | defect | 9a52840598ba9f57baa231d9916d5ec1fbd56729 | 5b8d6075c560b66da5c767163230a6c4a5461c51 | Deprecated methods cleanup | Address deprecation warnings reported by GCC 10 compiler with Qt 5.15 on openSUSE Tumbleweed. | diff --git a/3rd-party/cove/app/colorseditform.cpp b/3rd-party/cove/app/colorseditform.cpp
index 5626916d3b..11d8039ed2 100644
--- a/3rd-party/cove/app/colorseditform.cpp
+++ b/3rd-party/cove/app/colorseditform.cpp
@@ -78,7 +78,9 @@ class ColorsEditingDelegate : public QItemDelegate
QVariant v = model->data(model->... | 2 | 2 | 1 | [{"id": "G0", "claim": "The MapCoord initialization in the pull request's change is messed up and the author says he will rework it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The Qt::WindowFlags default argument should use value-initialization syn... | null |
OpenOrienteering__mapper__2099 | OpenOrienteering/mapper | 2,099 | defect | 72ea2139344c0ffda4a369e028b8ec7948e02bc9 | 1fb5008e85ae4bf7a54c49861df1550b0ed5eea3 | LineSymbol: Fix dashed line with mid symbols | Dashed lines with mid symbols that are placed in the center of a dash are sometimes disturbed.
This commit ensures that the dash is always drawn the same way, independent of whether mid symbols are present or not.
Fixes #2064 | diff --git a/src/core/symbols/line_symbol.cpp b/src/core/symbols/line_symbol.cpp
index 36b62be6d2..c39fc88fbe 100644
--- a/src/core/symbols/line_symbol.cpp
+++ b/src/core/symbols/line_symbol.cpp
@@ -1,6 +1,6 @@
/*
* Copyright 2012, 2013 Thomas Schöps
- * Copyright 2012-2020 Kai Pastor
+ * Copyright 2012-202... | 4 | 2 | 1 | [{"id": "G0", "claim": "The original mid-symbol placement in processContinuousLine starts at split with the opposite direction, which is the hidden bug behind the rendering glitch.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The dash's line seg... | null |
OpenOrienteering__mapper__2371 | OpenOrienteering/mapper | 2,371 | defect | df170726f7701f3f2afdc6e6a0f461d6f14d50da | a8195c6e2c1c6c69a1d0446245319ca5737c8e5e | MapFindFeature: Exclude hidden and protected objects | The 'Find next' search failed if the object query returned an object with either a hidden or protected symbol since these kind of objects can't be added to an object selection.
Exclude all hidden and protected objects from the 'Find next' and 'Find all' search. | diff --git a/src/gui/map/map_find_feature.cpp b/src/gui/map/map_find_feature.cpp
index 39425efaa..4a888209c 100644
--- a/src/gui/map/map_find_feature.cpp
+++ b/src/gui/map/map_find_feature.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2017-2024 Kai Pastor
+ * Copyright 2017-2020, 2024, 2025 Kai Pastor
*
* This fil... | 1 | 1 | 0 | [{"id": "G0", "claim": "This needs more info.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
OpenOrienteering__mapper__2419 | OpenOrienteering/mapper | 2,419 | defect | 8a443d04bbc21e5cc0921cc84a310a93bcfaa2c5 | e339bc7324892456c505618f2455c24440baf803 | Fix OCD text framing import/export | Fix type of horizontal and vertical offsets for text symbol shadow framing to be signed.
Call already existing function to setup the text symbol framing attributes for OCD export.
Import color when importing a text symbol with line framing and issue warning for unsupported lines styles.
Closes GH-2418 (OCAD import... | diff --git a/src/fileformats/ocd_file_export.cpp b/src/fileformats/ocd_file_export.cpp
index 66e005ad2..73d340fc1 100644
--- a/src/fileformats/ocd_file_export.cpp
+++ b/src/fileformats/ocd_file_export.cpp
@@ -425,21 +425,27 @@ Ocd::OcdPoint32 convertPoint(const MapCoord& coord)
/**
* Convert a size to the OCD format... | 1 | 1 | 1 | [{"id": "G0", "claim": "convertSize's new if/else handling of negative values drops the constexpr property and leaves the desired rounding for negative halfway cases (e.g. -205) undecided while converting an offset under a size's name, so the reviewer suggested a single ternary expression and asked what result is wante... | null |
OpenPipe__ART__631 | OpenPipe/ART | 631 | defect | 3e50ca0f471d88a81ca239935c80c95d2955c70f | a0b759458fa69bde2d73e40e5a83359497155847 | feat: Add merged vLLM rollout weights | Enable ART to serve merged LoRA weights through dedicated vLLM so Qwen3.5-MoE training works on the current vLLM build.
## Changes
- Add `rollout_weights_mode: "lora" | "merged"` with dedicated-only validation and a merged-mode requirement for `Qwen/Qwen3.5-35B-A3B` and `Qwen/Qwen3.5-397B-A17B`
- Push merged weigh... | diff --git a/dev/run_qwen3_5_localbackend_yes_no_maybe.py b/dev/run_qwen3_5_localbackend_yes_no_maybe.py
index ce2e3db53..ad79d213f 100644
--- a/dev/run_qwen3_5_localbackend_yes_no_maybe.py
+++ b/dev/run_qwen3_5_localbackend_yes_no_maybe.py
@@ -51,6 +51,11 @@ def _format_int_list(values: list[int]) -> str:
parser.add_... | 3 | 1 | 1 | [{"id": "G0", "claim": "Asking whether the pull request can support training for Qwen/Qwen3.5-397B-A17B, a model it adds to the Qwen3.5 MoE supported set.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The merging would be more intuitive if it were ... | null |
OpenPipe__OpenPipe__222 | OpenPipe/OpenPipe | 222 | defect | 88be0b07a902d606388d571e8fb580705ef68a3c | 80e51752c35556f4210826c8146f92d00103a9ef | Add support for CommonJS in sdk | Currently, our https://npmjs.org/openpipe typescript sdk is only compatible with ECMAScript projects. Since one of our customers uses CommonJS, this PR introduces a tsup build step that bundles all of our typescript code to be compatible with both ECMAScript and CommonJS imports.
## Changes
* Use tsup to generate d... | diff --git a/app/.gitignore b/app/.gitignore
index 4f31439c..1a1bddb8 100644
--- a/app/.gitignore
+++ b/app/.gitignore
@@ -47,3 +47,7 @@ yarn-error.log*
# custom openai intialization
src/server/utils/openaiCustomConfig.json
+
+# yalc
+.yalc
+yalc.lock
diff --git a/app/package.json b/app/package.json
index 821277ab.... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pull request does not show how the new CommonJS build is verified to actually work in different consumer app setups.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "src/openai/index.test.ts should not be a tsup entrypoint; onl... | null |
OpenPipe__OpenPipe__269 | OpenPipe/OpenPipe | 269 | defect | 27b51d1379612e69c5f8c91bd861f414d03ae825 | e2a5d4e54d62904b022cf23200f5327c52aa0c32 | Calculate score for function outputs | For models that produce structured data, we now compare the function names and argument values to calculate a per-row score between 0 and 1. We also display the total score at the top of the test set.
### Changes
* Add `caculateEntryScore`, save score on testing entry in database
* Display per-row score and total ... | diff --git a/app/prisma/migrations/20231004005048_add_score_to_fine_tune_testing_entry/migration.sql b/app/prisma/migrations/20231004005048_add_score_to_fine_tune_testing_entry/migration.sql
new file mode 100644
index 00000000..fa6383c9
--- /dev/null
+++ b/app/prisma/migrations/20231004005048_add_score_to_fine_tune_tes... | 1 | 1 | 1 | [{"id": "G0", "claim": "If the function names match, the score should be the fraction of output args that exactly match the input args (num matching args / num args) rather than the formula that grants a 0.5 baseline.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OpenPipe__OpenPipe__338 | OpenPipe/OpenPipe | 338 | defect | 063a28ac3ab9cc85543be30d7f2a13654b71a4af | 7a6f662f75e16538c12d8450df26df717b1b7822 | Support tool calls | This PR allows us to support tool calls while continuing to serve inference with models trained on function calls. However, from the perspective of our dataset entries, function calling will no longer exist. This PR contains a migration file to rewrite all existing dataset entry function metadata to fit the tool callin... | diff --git a/app/prisma/migrations/20231108032349_add_tool_choice_and_tools/migration.sql b/app/prisma/migrations/20231108032349_add_tool_choice_and_tools/migration.sql
new file mode 100644
index 00000000..a10a2018
--- /dev/null
+++ b/app/prisma/migrations/20231108032349_add_tool_choice_and_tools/migration.sql
@@ -0,0 ... | 5 | 4 | 3 | [{"id": "G0", "claim": "The parseableToToolCalls function would be shorter, cleaner and more maintainable if it were written as two zod validators, one for the array of objects and a second for the arguments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
OpenPipe__OpenPipe__347 | OpenPipe/OpenPipe | 347 | defect | 679235feda23a9decb36f7c2fb590c021805aad0 | 449320f17b35e988e51d465817a1e5d6c954009f | Convert tool calls to function calls for 3.5 fine-tunes | Unfortunately, OpenAI's 3.5 fine-tuning services have not been updated to support the tool call syntax. Consequently, we need to convert incoming requests to fine-tuned 3.5 models to use the function call syntax, and then convert completions generated from fine-tuned 3.5 models back into the tool call syntax to ensure ... | diff --git a/app/src/modelProviders/fine-tuned/getCompletion-2.ts b/app/src/modelProviders/fine-tuned/getCompletion-2.ts
index 2346f632..16195dca 100644
--- a/app/src/modelProviders/fine-tuned/getCompletion-2.ts
+++ b/app/src/modelProviders/fine-tuned/getCompletion-2.ts
@@ -11,7 +11,11 @@ import { runInference } from "... | 1 | 1 | 0 | [{"id": "G0", "claim": "The convertToolsToFunctions body could be written as a single expression, `return tools?.map((tool) => tool.function)`, instead of the guard-plus-map structure.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenPipe__OpenPipe__476 | OpenPipe/OpenPipe | 476 | defect | 2c1c54c3dc6c084ed0efe805e37fa41561e06ebd | 66996ebfb17c98cc86f42b34e9a36e9c7b8b772d | Capture training usage logs | We've been seeing our training usage ramp up more quickly than we anticipated, so let's keep track of how many dataset entries are being trained in the form of usage logs. Let's also backfill previous training in backdated usage logs. | diff --git a/app/prisma/migrations/20240104143022_add_training_usage_logs/migration.sql b/app/prisma/migrations/20240104143022_add_training_usage_logs/migration.sql
new file mode 100644
index 00000000..8024c02b
--- /dev/null
+++ b/app/prisma/migrations/20240104143022_add_training_usage_logs/migration.sql
@@ -0,0 +1,5 @... | 3 | 3 | 1 | [{"id": "G0", "claim": "The token totals used for the new training usage logs do not account for the number of epochs the model was trained on and should be multiplied by it, both in the backfill script and in checkFineTuneStatus.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
OpenPipe__OpenPipe__599 | OpenPipe/OpenPipe | 599 | defect | 9728dac0ed2934e9c02a6f1c17e476ef8752b6c1 | a0ede5418bd10cb0e4a4016b0f28a2a49a22ac04 | Anyscale and Fireworks streaming added | I think I figured out how to add support of streams to Anyscale and Fireworks :) I still have a limited understanding of streaming in general, so there might be some mistakes.
Aniscale has a very similar API response compared to OpenAI. The only difference is the `object` property and the `usage` property. Fireworks ... | diff --git a/app/prisma/migrations/20240217050019_comparison/migration.sql b/app/prisma/migrations/20240217050019_comparison/migration.sql
new file mode 100644
index 00000000..2d5c2925
--- /dev/null
+++ b/app/prisma/migrations/20240217050019_comparison/migration.sql
@@ -0,0 +1,2 @@
+-- AlterEnum
+ALTER TYPE "Comparison... | 7 | 6 | 2 | [{"id": "G0", "claim": "Consider introducing a custom type for streamed chunks, since the usage property Anyscale and Fireworks send is not compatible with OpenAI chunk types.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the comparison model names... | null |
OpenPipe__OpenPipe__615 | OpenPipe/OpenPipe | 615 | defect | 89a0210b07915cf3991786ebba4213f09f77d667 | 9f2ee6c7d805b30b1a977a28cf5ae0482897c658 | Fireworks rate limiting | Ensure we never send more than 30 requests to Fireworks as part of evals at once, and that we send requests at a maximum rate of 10 rps.
Also adds a general `rateLimit` abstraction that we may be able to reuse for similar types of soft limits in the future. It uses the token bucket strategy -- leaky bucket would pro... | diff --git a/app/prisma/migrations/20240221070339_add_rate_limiting/migration.sql b/app/prisma/migrations/20240221070339_add_rate_limiting/migration.sql
new file mode 100644
index 00000000..b4a00b35
--- /dev/null
+++ b/app/prisma/migrations/20240221070339_add_rate_limiting/migration.sql
@@ -0,0 +1,9 @@
+-- CreateTable
... | 4 | 4 | 2 | [{"id": "G0", "claim": "The order of the imports newly added to app/src/server/tasks/generateTestSetEntry.task.ts should be corrected (nit).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The it.only modifier should be removed from the \"calls t... | null |
OpenPipe__OpenPipe__629 | OpenPipe/OpenPipe | 629 | defect | ab1b3312a0cb7e6a8a4b803c8e6656ef2752cbba | 44c5e3fab2c4d25a2c69bcf89aec22e8c600a768 | Rate limit | Plan: use concurrency-based rate limiting, because that forms a natural kind of back-pressure (under higher load we will take longer to respond). Also makes it easier for us to have one limit that applies to models of different sizes since larger models will naturally respond slower.
Task:
- Add a `rateLimit` fiel... | diff --git a/app/prisma/migrations/20240223181144_rate_limit_ongoing_request_model_owner_added/migration.sql b/app/prisma/migrations/20240223181144_rate_limit_ongoing_request_model_owner_added/migration.sql
new file mode 100644
index 00000000..2252d81c
--- /dev/null
+++ b/app/prisma/migrations/20240223181144_rate_limit... | 7 | 6 | 3 | [{"id": "G0", "claim": "Use the newly created support@openpipe.ai inbox instead of founders@openpipe.ai in the settings page contact link.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The FineTune.user relation should be set to null on delete/up... | null |
OpenPipe__OpenPipe__686 | OpenPipe/OpenPipe | 686 | defect | 7c061f99d0a1c20fc18c4974653713c183a1b3d2 | 7995edbc2fce5c5eece33f1a60a0f562354a7faf | Sentry projectId and key added |  | diff --git a/app/src/server/api/external/openApiTrpc.ts b/app/src/server/api/external/openApiTrpc.ts
index 4b8e0bd3..97b7d618 100644
--- a/app/src/server/api/external/openApiTrpc.ts
+++ b/app/src/server/api/external/openApiTrpc.ts
@@ -84,11 +84,19 @@ const t = initTRPC
export const createOpenApiRouter = t.router;
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Set the Sentry user to the project owner (in the PR's new sentryMiddleware) so that Sentry views can quickly show the count of users (project owners) affected by each issue.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenRCT2__OpenRCT2__11386 | OpenRCT2/OpenRCT2 | 11,386 | defect | d93edf77d6b01ad8a9b313ad448d781cf71fd3a9 | 210714d96c4f1ffc7c69783965c7636103295b89 | Fix strlogicalcmp | We recently had reports about invalid sorting of such items | diff --git a/src/openrct2/util/Util.cpp b/src/openrct2/util/Util.cpp
index 8804b88a77ad..d9730909b997 100644
--- a/src/openrct2/util/Util.cpp
+++ b/src/openrct2/util/Util.cpp
@@ -323,37 +323,32 @@ int32_t strcicmp(char const* a, char const* b)
// - Guest 100
// - John v2.0
// - John v2.1
-int32_t strlogicalcmp(char ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The rewrite of strlogicalcmp dropped case-insensitive comparison (mixed-case pairs order case-sensitively, e.g. \"a\" vs \"B\", and \"foo13\" vs \"FOO13\" should compare equal), so restore case insensitivity.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
OpenRCT2__OpenRCT2__20271 | OpenRCT2/OpenRCT2 | 20,271 | defect | b9382ae9fc938a08bed947b0688b83de45ddc508 | ccdb97a3bf1e9999a962809c965ed518f20b7a9c | Rework Object Identifier callers | `FindObjectLegacy` is a broken function that can cause incorrect objects to be returned. I've replaced 2 callers with FindObject. (FindObject is also broken but at least we pass that the correct fields to fix it {follow on pr hopefully}). GetObjectOverrideStringId is how we originally overrode the language strings for ... | diff --git a/data/language/en-GB.txt b/data/language/en-GB.txt
index 399108a25d19..5269239a1ffb 100644
--- a/data/language/en-GB.txt
+++ b/data/language/en-GB.txt
@@ -4138,17 +4138,6 @@ STR_SCNR :Fort Anachronism
STR_PARK :Fort Anachronism
STR_DTLS :
-###########
-# Scenery #
-###########
-
-## Start OpenR... | 2 | 2 | 1 | [{"id": "G0", "claim": "The removal of the object localisation override system should be reversed (or at least reconsidered) because it may regress overrides for very common objects and there is currently no good way to update the objects in question.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
OpenRCT2__OpenRCT2__22010 | OpenRCT2/OpenRCT2 | 22,010 | defect | 740ee91cb5f93b31760dabdb61dd271fc6f4ede1 | 8d35ef585260fd39133bd3a56bb2cf929595a815 | Move strings exclusively used by ride meta data to RideStringIds.h | This PR introduces `RideStringIds.h` as the file containing the string id definitions for rides, at least until ride objects are introduced. This prevents having to recompile the `ride/` directory every time `StringIds.h` changes.
File was generated using Python to prevent any errors as a result of manual copy pasti... | diff --git a/src/openrct2/libopenrct2.vcxproj b/src/openrct2/libopenrct2.vcxproj
index 83c72c269a01..3c26d4efc1f9 100644
--- a/src/openrct2/libopenrct2.vcxproj
+++ b/src/openrct2/libopenrct2.vcxproj
@@ -466,6 +466,7 @@
<ClInclude Include="ride\RideData.h" />
<ClInclude Include="ride\RideEntry.h" />
<ClIn... | 4 | 3 | 0 | [{"id": "G0", "claim": "The now-unused ride-name constants (STR_RIDE_NAME_50 and companions) should be removed, including their en-GB entries.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "In the new RideStringIds.h the descriptions are sorted ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.