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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MoarVM__MoarVM__1419 | MoarVM/MoarVM | 1,419 | defect | 14708e9895f0f60b403d165e84f7d64a236e6811 | f1050c9f9bf3306aaf4bb95726f614fa0f8f8103 | Fix a bunch of memory leaks | This PR contains fixes to assortment of memory leaks uncovered by ASAN. This covers all individual leaks that occur during a make test or make spectest but not those that need architectural changes like the whole NativeCall memory management situation, cleanup of background threads or cleanup when exceptions occur deep... | diff --git a/src/6model/6model.c b/src/6model/6model.c
index 4a1cc11b5c..0fa6eb5c45 100644
--- a/src/6model/6model.c
+++ b/src/6model/6model.c
@@ -61,6 +61,9 @@ static void die_over_missing_method(MVMThreadContext *tc, MVMObject *obj, MVMStr
c_name, MVM_6model_get_debug_name(tc, obj));
}
}
+static vo... | 3 | 1 | 1 | [{"id": "G0", "claim": "gcc warns that the new free_sr_data frees the function itself (`MVM_free(free_sr_data)`) instead of the sr_data pointer.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "Asks why MVM_free_null is used for si->prog when si itsel... | null |
MoarVM__MoarVM__1430 | MoarVM/MoarVM | 1,430 | defect | 1082d8893657c21009032f5c54a311bb6397db83 | 0d1b1fdd9b0d1d17ab45b8b23ff19ebd5584d662 | Avoid segfaults caused by repossessed native call sites | We deserialize a native call site. Then we call the function which triggers the
actual setup, i.e. resolving the library name, loading the library, generating
caller code. We run the function often enough that spesh decides its worth its
time. While spesh is working however, we deserialize the module again and as
p... | diff --git a/src/core/nativecall.c b/src/core/nativecall.c
index d1a469a4df..35796a564f 100644
--- a/src/core/nativecall.c
+++ b/src/core/nativecall.c
@@ -1196,5 +1196,7 @@ void MVM_nativecall_invoke_jit(MVMThreadContext *tc, MVMObject *site) {
}
MVMJitCode * const jitcode = body->jitcode;
+ assert(jitco... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added inline comment 'Check it only after we've used it to avoid a race condition' is ambiguous and should be reworded to state clearly whether checking after use merely avoids a race or is the only correct time to check.", "category": "documentation", "verdict": "supported", "priority": "P2... | null |
MoarVM__MoarVM__1639 | MoarVM/MoarVM | 1,639 | defect | b1069f7c6c7258f45dd2c1d73437c78f10fe0196 | 7175db2ee216657e135c0ffc9fb0baa21a2297b3 | More preparations for fixing unsigned handling | This PR includes the final round of fixes for unsigned handling that can be split off from the main branch. These commits are independent of changes in the other layers, i.e. they are still compatible with the master branches of the other repositories.
The fixes are mostly about using unsigned data types when handli... | diff --git a/lib/MAST/Nodes.nqp b/lib/MAST/Nodes.nqp
index cba12b42a9..88f34c1b46 100644
--- a/lib/MAST/Nodes.nqp
+++ b/lib/MAST/Nodes.nqp
@@ -74,7 +74,7 @@ class MAST::Bytecode is repr('VMArray') is array_type(uint8) {
method write_buf(@buf) {
nqp::splice(self, @buf, nqp::elems(self), 0);
}
- met... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new MVM_CALLSITE_ARG_UINT case in insert_getarg_and_box should use MVM_reg_uint64 for its temp register instead of MVM_reg_int64.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MoarVM__MoarVM__1661 | MoarVM/MoarVM | 1,661 | defect | 3ff5b1113654458e12a8c111c1893bd48247d96c | 4dad5fb98c75360b63322bf3f167dfb188fcd938 | Fix things found by lgtm.com | NQP builds ok and passes `make m-test` and Rakudo builds ok and passes `make m-test m-spectest`. | diff --git a/src/6model/reprs/CArray.c b/src/6model/reprs/CArray.c
index 2039f0801b..a2415c0193 100644
--- a/src/6model/reprs/CArray.c
+++ b/src/6model/reprs/CArray.c
@@ -222,8 +222,8 @@ static void expand(MVMThreadContext *tc, MVMCArrayREPRData *repr_data, MVMCArray
next_size = min_size;
if (body->mana... | 2 | 1 | 1 | [{"id": "G0", "claim": "Removing the `line_number >= 0` guard in instrument_graph_with_breakpoints is wrong because `line_number` is a signed `MVMint64` and it looks possible to reach the `if` without it having been changed.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"... | null |
MoarVM__MoarVM__1678 | MoarVM/MoarVM | 1,678 | defect | 1b9c96389c68302ffc8a60831e880c143f3b7136 | efe5bfcc25478cafc09f9a139e832d2c90307b89 | Some nativeref optimizations and fixes | NQP builds ok and passes `make m-test` and Rakudo builds ok and passes `make m-test m-spectest`.
I struggled to find a benchmark, but `my uint $a = 0; my uint $b; my uint $c; my uint $d; while $a++ < 10_000_000 { $b = $a; $c = $b; $d = $c; }; say now - INIT now; say($a); say($b); say($c); say($d)` before was ~1.25s ... | diff --git a/src/6model/containers.c b/src/6model/containers.c
index 29222f3617..4baf8b7dfb 100644
--- a/src/6model/containers.c
+++ b/src/6model/containers.c
@@ -592,7 +592,7 @@ static void native_ref_store_u(MVMThreadContext *tc, MVMObject *cont, MVMuint64
MVM_exception_throw_adhoc(tc, "This container does n... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new MVM_reg_uint64 case in the LEX branch of MVM_container_devirtualize_fetch_for_jit returns MVM_nativeref_read_lex_i; the reviewer asks whether it should be MVM_nativeref_read_lex_u.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "... | null |
MoarVM__MoarVM__1712 | MoarVM/MoarVM | 1,712 | defect | c315523abaac6d8071572aeccf1ffad61dbe88dd | 49d9f5e07187d625d5e095505f04e8aabb4e21fb | Fallback resolver | When we run code at BEGIN time the actual lexical environment the code
is supposed to run in hasn't been set up yet. Previously we got around
that by compiling a wrapper frame, containing all lexicals visible from
the code we run. This frame is rather expensive and we want to replace
it with an on-demand resolver t... | diff --git a/src/6model/reprs/MVMCompUnit.c b/src/6model/reprs/MVMCompUnit.c
index 34983974dd..d9b18b1a2e 100644
--- a/src/6model/reprs/MVMCompUnit.c
+++ b/src/6model/reprs/MVMCompUnit.c
@@ -63,6 +63,8 @@ static void gc_mark(MVMThreadContext *tc, MVMSTable *st, void *data, MVMGCWorkli
/* Add various other referenc... | 2 | 2 | 1 | [{"id": "G0", "claim": "The oplist needs a change so that the various lexical lookup ops are marked as possibly ending up invoking, now that the fallback resolver can be dispatched from them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "By the sam... | null |
MoarVM__MoarVM__501 | MoarVM/MoarVM | 501 | defect | d1da1bac416ccf0dba12ade28ca3f105a87c4a3b | a02116ef98dd8c72592f7cfa09450df7c6e91ed0 | Fix warnings during compile | I get the format string warnings on my Kubuntu 16.10 machine (gcc 6.2.0), but not on my Arch Linux machine (gcc 6.3.1). | diff --git a/src/6model/reprs/NFA.c b/src/6model/reprs/NFA.c
index f7fe06ff54..be7db0a5a4 100644
--- a/src/6model/reprs/NFA.c
+++ b/src/6model/reprs/NFA.c
@@ -454,7 +454,7 @@ static MVMint64 * nqp_nfa_run(MVMThreadContext *tc, MVMNFABody *nfa, MVMString *
if (nfadeb) {
if (offset < eos) {
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Casting `entry` to `MVMUnicodeNameRegistry *` is not a good fix because the two structs hold differently typed items; a more correct fix would be to change the declared type of `*property_codes_by_seq_names` to `MVMUnicodeGraphemeNameRegistry *` (or otherwise avoid casting it as something it is ... | null |
MoarVM__MoarVM__737 | MoarVM/MoarVM | 737 | defect | 116c7a1330a59c71c142581f69538b838f750b34 | 1bbbad8e2e4352cb460903a2812b96c872e69f0a | Create and JIT coerce_II op | Implement it with the new `MVM_bigint_from_bigint` function. This will be
used in Rakudo's `Int.new` to create one Int from another, but without any
mix-ins the source might have. | diff --git a/lib/MAST/Ops.nqp b/lib/MAST/Ops.nqp
index e49f912630..b6c9d8c95c 100644
--- a/lib/MAST/Ops.nqp
+++ b/lib/MAST/Ops.nqp
@@ -796,24 +796,24 @@ BEGIN {
1980,
1983,
1986,
- 1990,
- 1992,
- 1994,
- 1996,
- 1998,
- 2000,
- 2002,
- 2004,
- 2006,
- 2008,
- 2010,
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "`a` must be `MVMROOT`ed around the `MVM_repr_alloc_init` allocation in `MVM_bigint_from_bigint`, otherwise it is a GC bug.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
MoarVM__MoarVM__843 | MoarVM/MoarVM | 843 | defect | deaffb2de3e24335aa5393cac29f7cdcea321f5e | 7109ec0e3519832b0b5029eb09b0c399a5c78761 | Add 'slice' op | This PR is a new op 'slice', inspired by @lizmat's [RFC issue](https://github.com/rakudo/rakudo/issues/1639) and implemented for VMArray.
Repurposes the element copying functionality from VMArray's 'splice' implementation to create a new VMArray array from slice of existing one.
[Profile NQP slicing (~3 secs tota... | diff --git a/lib/MAST/Ops.nqp b/lib/MAST/Ops.nqp
index 982aa06b6e..44cc6ba027 100644
--- a/lib/MAST/Ops.nqp
+++ b/lib/MAST/Ops.nqp
@@ -798,13 +798,12 @@ BEGIN {
1995,
1996,
1997,
- 2000,
- 2003,
- 2006,
- 2009,
- 2012,
+ 2001,
+ 2004,
+ 2007,
+ 2010,
+ 2013,
2016,
- ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new slice error message should lowercase \"Index Out of Bounds\" to match the style of the other \"MVMArray:\" errors.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The aslice signature does not make sense for multid... | null |
MoarVM__MoarVM__868 | MoarVM/MoarVM | 868 | defect | 89dee3be3046250f187637c1850651c24f817f6c | 433aa2b61c81900fe2530ba6dcc4459919519dad | [JIT] Use on-stack return address for reading and writing the current position | The JIT currently relies on compiled control guards for two purposes:
- To signal to the rest of the interpreter our current position in the code, so that we can correctly lookup exceptions handlers, dynamic lexical variables etc, the JIT-compiled code stores its' 'current position' into the current frame on entry o... | diff --git a/Configure.pl b/Configure.pl
index 75b0de3a5a..5f5f7f6576 100755
--- a/Configure.pl
+++ b/Configure.pl
@@ -17,6 +17,11 @@
sub defined_or($$) {
defined $_[0] ? $_[0] : $_[1]
}
+# This allows us to run on broken perls
+sub uniq {
+ my %s; grep { !$s{$_}++ } @_;
+}
+
my $NAME = 'moar';
my $GEN... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new comment \"This allows us to run on broken perls\" in Configure.pl is unclear about what \"broken\" means.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The leftover commented-out code in src/jit/graph.c (the disabl... | null |
MoarVM__MoarVM__886 | MoarVM/MoarVM | 886 | defect | 4d9829c061d35646d045a1d90d27337b3471b89d | d2248f8b0f5d9dd0b814de22fcd456cee8a4fea7 | Implement JIT templates for 12 ops (27/06/18) | Adds JIT support for the following ops:
- isinvokable
- getlexreldyn
- objprimunsigned
- scgethandle
- scobjcount
- setobjsc
- getcodename
- captureposarg_i
- captureposarg_n
- captureposarg_s
- ctxcallerskipthunks
- setwho | diff --git a/src/jit/graph.c b/src/jit/graph.c
index cdb557d9f9..d2982ba0a6 100644
--- a/src/jit/graph.c
+++ b/src/jit/graph.c
@@ -1563,6 +1563,7 @@ static MVMint32 consume_ins(MVMThreadContext *tc, MVMJitGraph *jg,
/* comparison (objects) */
case MVM_OP_eqaddr:
case MVM_OP_isconcrete:
+ case MVM_... | 10 | 7 | 4 | [{"id": "G0", "claim": "Please refrain in general from 'vanity' reorderings like moving `mov ARG1, TC` earlier in the objprimspec sequence, because ARG1-ARG6 and TMP1-TMP6 mean different things on POSIX/Windows and it is easy to accidentally overwrite a variable.", "category": "maintainability", "verdict": "uncertain",... | null |
MoarVM__MoarVM__889 | MoarVM/MoarVM | 889 | defect | 6646038f59e0b10b4cf73e194c6e060ffabb594f | 506294ac3cb9ca830e374a0b5c049fa12795cd78 | Implement SipHash, use as our hashing function w/ 64bit hashvals | Implement SipHash, use as our hashing function w/ 64bit hashvals
This switches our hashing function from "Jenkins's Lookup2" to SipHash.
This adds a heavily modified version of https://github.com/majek/csiphash
which has been modified to use a struct to store the state and allow us to
add 64 bits at a time (two... | diff --git a/build/Makefile.in b/build/Makefile.in
index 2b67f6377e..ce284ff10a 100644
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -411,6 +411,7 @@ HEADERS = src/moar.h \
src/instrument/line_coverage.h \
src/gen/config.h \
src/debug/debugserver.h \
+ src/strings/siphash/... | 3 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks whether the standalone test-build Makefile (src/strings/siphash/Makefile) should have been committed to the repository.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the standa... | null |
MoarVM__MoarVM__899 | MoarVM/MoarVM | 899 | defect | a24033eb0f39a4e43a9ea41eefa75d912f09605a | fec279c9e0cf76821ebd09b69c0e5f5ee40f711a | Rename (and JIT) getstrfromname | This better fits the convention of the other `*from*` ops. | diff --git a/lib/MAST/Ops.nqp b/lib/MAST/Ops.nqp
index a63bf76301..deb87869b6 100644
--- a/lib/MAST/Ops.nqp
+++ b/lib/MAST/Ops.nqp
@@ -4763,7 +4763,7 @@ BEGIN {
'captureinnerlex', 756,
'unicmp_s', 757,
'setdispatcherfor', 758,
- 'getstrfromname', 759,
+ 'strfromname', 759,
'indexic_s', 760,
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Renaming the getstrfromname opcode may require a corresponding NQP bump, which the pull request itself does not include.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MoarVM__MoarVM__901 | MoarVM/MoarVM | 901 | defect | a24033eb0f39a4e43a9ea41eefa75d912f09605a | aa4970c62f145b0a7e7979c89cdc5ba08a83fe16 | Make a faster HASH_ITER macro and make other hash optimizations | HASH_ITER_FAST is faster and it doesn't randomize bucket order (though
it's faster regardless of that).
Makes the biggest difference when we are iterating a hash with a LOT of
keys in it, such as adding a million keys to a hash then deleting and
adding back again. Got about 40% speed improvement on this nqp script:
ht... | diff --git a/src/6model/reprs/HashAttrStore.c b/src/6model/reprs/HashAttrStore.c
index cd5d6c497b..2287ca0024 100644
--- a/src/6model/reprs/HashAttrStore.c
+++ b/src/6model/reprs/HashAttrStore.c
@@ -21,27 +21,25 @@ static MVMObject * type_object_for(MVMThreadContext *tc, MVMObject *HOW) {
static void copy_to(MVMThread... | 1 | 1 | 0 | [{"id": "G0", "claim": "Maybe it needs a comment here saying that the switch-based GET_X_BITS is done this way because it is faster, otherwise someone may refactor it months later.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MoarVM__MoarVM__915 | MoarVM/MoarVM | 915 | defect | 403460ecc830286b59240595c75c30ef278594bd | 1ab3b189684be3d44b2f231caed60222d8eb7bd2 | JIT neg_I and abs_I | Rewrite the MVM_BIGINT_UNARY_OP macro the same way as was done for the
MVM_BIGINT_BINARY_OP macro so it can be JITted.
NQP builds ok and passes `make m-test` and Rakudo builds ok and passes `make m-test m-spectest`. | diff --git a/src/core/interp.c b/src/core/interp.c
index 1dea0a4705..051f947f1b 100644
--- a/src/core/interp.c
+++ b/src/core/interp.c
@@ -3301,17 +3301,13 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
}
OP(neg_I): {
MVMObject * const ty... | 2 | 2 | 1 | [{"id": "G0", "claim": "The neg_I and abs_I templates return int_sz where the callees return a pointer, so the return size should be ptr_sz, which could matter on JITted architectures where pointer and MVMint64 sizes differ.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
MobleyLab__blues__102 | MobleyLab/blues | 102 | defect | 068daf16c562fbab833122976c4e6575a34001f6 | e786f0f046e2c314f3c558a23729f8070d1a351a | NCMC reporter and Simulation info enhancements | PR meant to address issue #101 for getting simulation information easily.
Addresses two points:
- Initialization of the logger module and it's settings is currently embedded in the example scripts.
- Reporter for the simulateNCMC phase | diff --git a/blues/example.py b/blues/example.py
index cf8e587e..19f46b25 100644
--- a/blues/example.py
+++ b/blues/example.py
@@ -21,32 +21,14 @@
import sys
import logging
-def init_logger():
- logger = logging.getLogger()
- logger.setLevel(logging.DEBUG)
- formatter = logging.Formatter('%(levelname)s-%(a... | 3 | 1 | 0 | [{"id": "G0", "claim": "The newly added `self.totalNC = totalNC` line in _getSimulationInfo is unexplained and may be a typo - a leftover from abandoned NCMC progress printing that could be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
MobleyLab__blues__116 | MobleyLab/blues | 116 | defect | f4207869c936fcf8474693d1f1c944d62ceb43fb | 436749a83e2c2279536d844f0d3f992ad4f34d17 | HDF5 reporter and StateDataReporter for NCMC simulation | This PR makes some changes to store simulation data for the NCMC portion into the HDF5 file format from MDTraj and makes some changes to the NCMC reporter incorporated from #102 .
One critical change that needs to be closely looked by @sgill2 :
1. Change to explicitly use the `nc_sim` variable, rather than modifyin... | diff --git a/blues/reporters.py b/blues/reporters.py
new file mode 100644
index 00000000..e5d05a69
--- /dev/null
+++ b/blues/reporters.py
@@ -0,0 +1,381 @@
+from mdtraj.formats.hdf5 import HDF5TrajectoryFile
+from mdtraj.reporters import HDF5Reporter
+import simtk.unit as units
+import json, yaml
+import subprocess
+im... | 5 | 1 | 0 | [{"id": "G0", "claim": "The all_coordinates flag should be replaced by an option taking a list/dict of ints, each a trajectory frame to keep, so frames can be output selectively (e.g. every X steps).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Clarify... | null |
MobleyLab__blues__27 | MobleyLab/blues | 27 | defect | 4f05f2b4687f0e7e827b385a5618b4659f14627b | 39b36b6e94ee37d71d76dc8dc7d680a580033a5a | fixes bug where rotational moves used incorrect positions; also resolves two other issues | Addresses #25 and cleans up some related code handling error reporting.
Also addresses #26 and removes the self.nc_pos variable in the SimNCMC class.
More explicitly this fixes an issue where in a rotational move, the positions from the beginning point of the ncmc step was used instead of the current positions in the... | diff --git a/blues/ncmc.py b/blues/ncmc.py
index afc528a7..e1285d68 100644
--- a/blues/ncmc.py
+++ b/blues/ncmc.py
@@ -10,13 +10,13 @@
def get_lig_residues(lig_resname, coord_file, top_file=None):
"""
- Helper function to get atom indices of a ligand from a coordinate
+ Helper function to get atom indice... | 6 | 6 | 0 | [{"id": "G0", "claim": "get_particle_masses has no docstring; add one saying what the function does and what happens when set_self is true or not, so it can be used without reading the code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Debug pri... | null |
MobleyLab__blues__72 | MobleyLab/blues | 72 | defect | 9231ce2c8d382a0f594e98ecd34990025f1f6869 | a2ba1b4eb6a103960c5e6fa8a2095bd85aa77e19 | Options to get NCMC simulation output | This PR adds the following funcitonality:
Adds support for a write_ncmc option for the opt dictionary. The value of write_ncmc is an integer and specifies at what interval the frames are output, so everytime `ncsteps % write_ncmc == 0` a frame is output. This also automatically outputs a frame when a move is performed... | diff --git a/blues/integrators.py b/blues/integrators.py
index 77eec0ed..dcf7e6b4 100644
--- a/blues/integrators.py
+++ b/blues/integrators.py
@@ -1,7 +1,10 @@
-from openmmtools.integrators import NonequilibriumLangevinIntegrator
+from openmmtools.integrators import AlchemicalNonequilibriumLangevinIntegrator
import si... | 3 | 3 | 1 | [{"id": "G0", "claim": "The openmmtools integrator name changes should be brought into this PR, since the test is failing because the openmmtools integrators got changed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The NCMC reporter setup added... | null |
MobleyLab__blues__76 | MobleyLab/blues | 76 | defect | 3cd2041798e929b03e3da82c84bcc7bba9843457 | d5ba43d40b60c7c7702878fd1a0c5d95674916f0 | Refactor of how moves are proposed | This PR changes how moves are implemented in BLUES. Before, there was a `Model` class which contained information about the system and which atoms to move, and a `MoveProposal` class, which took in a model and contained ways in which to perform a specified move depending on that Model's attributes.
Now the necessary m... | diff --git a/README.md b/README.md
index 3c7e8bc4..524d2874 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ python setup.py install
### BLUES using NCMC
-This package takes advantage of non-equilibrium candidate Monte Carlo moves (NCMC) to help sample between different ligand binding modes using the OpenM... | 15 | 13 | 1 | [{"id": "G0", "claim": "The core move-picking/engine code and the concrete move types should live in separate modules: the SimulationFactory left in the gutted ncmc.py should be moved out (into a module renamed to something like engine.py) and ncmc.py removed.", "category": "design", "verdict": "supported", "priority":... | null |
MobleyLab__blues__87 | MobleyLab/blues | 87 | defect | 545a03120989b832865fb7deed55fbc3e80de240 | b00d925c710498cf82788b46aaa72f98a713f72b | Monte Carlo Functionality | This PR implements the ability to perform Monte Carlo (MC) simulations (as opposed to NCMC), with tests.
In addition to MC simulations this PR:
1. Disables the alchemical dispersion correction for alchemical simulations when setting up the system with `openmmtools.alchemy`, greatly speeding up the NCMC simulation por... | diff --git a/blues/example.py b/blues/example.py
index 7aa6df5b..7784cc07 100644
--- a/blues/example.py
+++ b/blues/example.py
@@ -46,7 +46,7 @@ def runNCMC(platform_name):
simulations.createSimulationSet()
blues = Simulation(simulations, ligand_mover, **opt)
- blues.run()
+ blues.runNCMC()
parser ... | 4 | 2 | 0 | [{"id": "G0", "claim": "The new MC test was copied from NCMC code without updating it: it is titled \"Tests the Simulation.runNCMC() function\" and its acceptance logic prints \"NCMC MOVE ACCEPTED\" / \"NCMC MOVE REJECTED\" even though it exercises runMC, so the test's messages and docstring describe NCMC instead of MC... | null |
MobleyLab__blues__95 | MobleyLab/blues | 95 | defect | 01ab180e2577f49f65cd69194b5fa4dfcda2d4cc | 867670f04eb82c9fb9227deac20a01d404576b2d | Features to boost move acceptance and general code cleanup. | In this PR, I'll be incorporating some changes that appear to boost move acceptance.
Particularly:
- Adding extra propagation steps between lambda 0.2 -> 0.8
- User parameter `nprop = 5` (Default).
- Zeroing masses of atoms outside the 5.0A distance (Default) of the ligand in the alchemical system.
- Dista... | diff --git a/blues/example.py b/blues/example.py
index 7784cc07..4398bba0 100644
--- a/blues/example.py
+++ b/blues/example.py
@@ -18,20 +18,46 @@
import parmed
from simtk import openmm
from optparse import OptionParser
+import sys
+import logging
-def runNCMC(platform_name):
- #Define some options
- opt = {... | 9 | 6 | 2 | [{"id": "G0", "claim": "The freezing distance is hardcoded at 5 angstroms and it is unclear what the distance is measured from (outer extent or center of mass); it should be user-specifiable (outside N angstroms).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
MockBukkit__MockBukkit__1046 | MockBukkit/MockBukkit | 1,046 | defect | 37ae563210035edd0b946208bbc5be1e3f53308f | d9235e6c8e78306603cc63fd2251f9adaf6535df | Impemented ServerMock::getTags | # Description
Implemented getTags method in ServerMock
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Unit tests added (if applicable).
| diff --git a/src/main/java/be/seeseemelk/mockbukkit/ServerMock.java b/src/main/java/be/seeseemelk/mockbukkit/ServerMock.java
index b4c4eb7522..a3495a1ec3 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/ServerMock.java
+++ b/src/main/java/be/seeseemelk/mockbukkit/ServerMock.java
@@ -2101,7 +2101,7 @@ public void add... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reformat the two new testGetTags test methods to put the opening brace on its own line, to be consistent with the rest of the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1079 | MockBukkit/MockBukkit | 1,079 | defect | 8a491eed17ddf0fd225c3c6e7f294085ae1a02d8 | b866f3c38935d4c76c976fc2f7845ead46583a85 | Added mocks for Golems (Iron Golem, Snowman and Shulker) | # Description
Implemented mocks for [Iron Golem](https://jd.papermc.io/paper/1.21.1/org/bukkit/entity/IronGolem.html), [Snowman](https://jd.papermc.io/paper/1.21.1/org/bukkit/entity/Snowman.html) and [Shulker](https://jd.papermc.io/paper/1.21.1/org/bukkit/entity/Shulker.html).
# Checklist
The following items shoul... | diff --git a/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java b/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
index 67bd28c923..22074f92c5 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
+++ b/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
@@ -47,6 +47,7 @@
import be.seeseemelk.m... | 1 | 1 | 1 | [{"id": "G0", "claim": "The mock should match Paper's behavior of truncating peek values to 1/100 steps, so that setPeek(0.3333333f) makes getPeek() return 0.33f.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1080 | MockBukkit/MockBukkit | 1,080 | defect | 8a491eed17ddf0fd225c3c6e7f294085ae1a02d8 | b7c5beb9b4a6ad874d6a23961c7ff199342c4562 | Implemented methods in EntityMock | # Description
This PR implements some methods in Entity that were throwing a UnimplementedOperationException.
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (if applicable).
| diff --git a/src/main/java/be/seeseemelk/mockbukkit/entity/EntityMock.java b/src/main/java/be/seeseemelk/mockbukkit/entity/EntityMock.java
index 110b68a411..f77eda4450 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/entity/EntityMock.java
+++ b/src/main/java/be/seeseemelk/mockbukkit/entity/EntityMock.java
@@ -12,6 ... | 2 | 2 | 1 | [{"id": "G0", "claim": "It would probably be better for isInWorld() to check whether location.getWorld() is null instead of returning the stored inWorld flag, since generally the entity will be in a world if there is one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
MockBukkit__MockBukkit__1082 | MockBukkit/MockBukkit | 1,082 | defect | 7990c53b71f2edb3a93a7ec4da8b501453ae8e21 | 47a08a0ce8f4992662f7d16162ac72e0567c4a04 | Refactor messaging system | # Description
According to Paper implementation, the only entity that implements sendMessage methods is the Player.
The code was refactored to comply with this behavior, taking into account the least possible impact on the user.
Additionally to this, the support for Conversation API was added.
# Checklist
The fo... | diff --git a/src/main/java/be/seeseemelk/mockbukkit/command/ConsoleCommandSenderMock.java b/src/main/java/be/seeseemelk/mockbukkit/command/ConsoleCommandSenderMock.java
index 29167a65c1..3f751b874e 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/command/ConsoleCommandSenderMock.java
+++ b/src/main/java/be/seeseemel... | 2 | 2 | 1 | [{"id": "G0", "claim": "The ConversationTracker lacks proper unit tests because the author could not find a way to write them and asks for help in doing so.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add the @ApiStatus.Internal annotation to Convers... | null |
MockBukkit__MockBukkit__1089 | MockBukkit/MockBukkit | 1,089 | defect | 24635fb3c55a19e6784020244879117ca9dce7ca | 84057c568575c6a2e6f671bcd9cf5d5800ab50fb | feat(entities): Implement endersignal entity | # Description
<!-- State the changes of the pull request below. -->
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Unit tests added (if applicable).
| diff --git a/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java b/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
index f7bded020e..737fb34bf4 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
+++ b/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
@@ -30,6 +30,7 @@
import be.seeseemelk.m... | 5 | 4 | 3 | [{"id": "G0", "claim": "The setTargetLocation update branch should actually be implemented (reset life back to 0 and set 'survive after death' given a 1/5 chance) using a deterministic, randomness-free policy such as an injectable value or supplier instead of hidden randomness.", "category": "design", "verdict": "suppo... | null |
MockBukkit__MockBukkit__1128 | MockBukkit/MockBukkit | 1,128 | defect | 673ed0b2314a5022d4a883e331dba52e5fdf9691 | 00a88abd68bac080a58c6db4766993e85d8a99f7 | Fix getEnchantmentLevel | # Description
Fix getEnchantmentLevel and hashCode
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
| diff --git a/src/main/java/be/seeseemelk/mockbukkit/inventory/ItemStackMock.java b/src/main/java/be/seeseemelk/mockbukkit/inventory/ItemStackMock.java
index 3016906fc8..8695aacd20 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/inventory/ItemStackMock.java
+++ b/src/main/java/be/seeseemelk/mockbukkit/inventory/Item... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add unit tests covering the methods added by this pull request, in particular a test in ItemStackMockTest that triggers getEnchantmentLevel and checks what it does.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new hashCode ... | null |
MockBukkit__MockBukkit__1153 | MockBukkit/MockBukkit | 1,153 | defect | 8e34a7bc5497c26214a6c0c2bd1ce8f5fbb1db7e | b3c8f57d94fb75e1f22117b0eb3ef71454eeb642 | Feature/boss mock | # Description
Add a boss abstract class and add Wither and EnderDragon to mockable entities
Progresses #825
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractBossMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractBossMock.java
new file mode 100644
index 0000000000..6a583120b2
--- /dev/null
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractBossMock.java
@@ -0,0 +1,35 @@
+package or... | 9 | 9 | 3 | [{"id": "G0", "claim": "Most methods of the anonymous DragonBattle class in EnderDragonMock are not really implemented: they neither follow Paper behavior nor throw UnimplementedOperationException, so the reviewer asks to either implement them or drop them.", "category": "design", "verdict": "supported", "priority": "P... | null |
MockBukkit__MockBukkit__1204 | MockBukkit/MockBukkit | 1,204 | defect | 49fa53b93efc5b3821aae7ff5e9466eabd858438 | f4e443cf824d0d2b76e0ebf19ebb0b6e2f5fa2bf | Fix equals and implement missing ItemStackMock methods | # Description
Another fix for ItemStackMock
- Fix equals function
- Implement most part or throw exception on method referencing delegated ItemStack. (null on ItemStackMock)
- Also ensure AIR item has not ItemMeta after setItemMeta
Also implemented PersistentDataContainerViewMock as it is required for getPersist... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/inventory/ItemStackMock.java b/src/main/java/org/mockbukkit/mockbukkit/inventory/ItemStackMock.java
index 3b253cbcb0..092b20b907 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/inventory/ItemStackMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/inventory/... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new test file PersistentDataContainerViewMockTest.java does not follow the project's style guidelines and should be restyled.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new equals() implementation may not matc... | null |
MockBukkit__MockBukkit__1218 | MockBukkit/MockBukkit | 1,218 | defect | 967936d052e5fb3d02fede0128a50b801b88c11b | 4ac2f4cc766e324cf33a1e7d288e9cc9b643e775 | Improve power in FireworkMetaMock | # Description
FireworkMetaMock fixes issue #1212
- implement .hasPower()
- increase max power to 255 to match 1.21;
- fix serialization bug (power not serialized)
- add tests
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Uni... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/inventory/meta/FireworkMetaMock.java b/src/main/java/org/mockbukkit/mockbukkit/inventory/meta/FireworkMetaMock.java
index 393ab20d8f..a25cc2311b 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/inventory/meta/FireworkMetaMock.java
+++ b/src/main/java/org/mockbukk... | 1 | 1 | 0 | [{"id": "G0", "claim": "Replace the hand-rolled setPower validation with the same two Preconditions.checkArgument calls Paper uses (power >= 0, power <= 255) so the messages match Paper's.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1238 | MockBukkit/MockBukkit | 1,238 | defect | cf198b0555795fca580c594c4701e067ba1db360 | e4a8f745cbe600e745133024fd354d219f0ddcd5 | Implemented mocks for Villager | # Description
Implemented mocks for [Villager](https://jd.papermc.io/paper/1.21.3/org/bukkit/entity/Villager.html).
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (if applicable).
# Relates
- https://github.co... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractVillagerMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractVillagerMock.java
new file mode 100644
index 0000000000..e6d66be053
--- /dev/null
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractVillagerMock.java
@@ -0,0 +1,116 @... | 7 | 4 | 4 | [{"id": "G0", "claim": "resetOffers() should also trigger updateTrades after clearing the recipes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getRecipe(int) duplicates the default interface implementation and the method is not needed at all.", "... | null |
MockBukkit__MockBukkit__1259 | MockBukkit/MockBukkit | 1,259 | defect | 229ad84474e3d97f2a21c761c16d2b55d4b61829 | ffc5eb8c7fda189c3047fc387e668912855017f0 | Implemented entity Sniffer | # Description
Implemented mocks for [Sniffer](https://jd.papermc.io/paper/1.21.3/org/bukkit/entity/Sniffer.html).
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (if applicable).
# Relates
- https://github.com/... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/EntityTypesMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/EntityTypesMock.java
index 74e69a327f..d4606cc428 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/EntityTypesMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/Entity... | 3 | 3 | 1 | [{"id": "G0", "claim": "getExploredLocations should return an immutable collection instead of a mutable ArrayList copy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The UnimplementedOperationException message for findPossibleDigLocation should say \"is... | null |
MockBukkit__MockBukkit__1284 | MockBukkit/MockBukkit | 1,284 | defect | 0755a62d9ed46df08a209582dbfbcd9bd4ed6aad | 8ca574acd02c6374cf30015b41af26f6a301d787 | Implement `getCraftingRecipe`, `craftItem` and `resetRecipes` in ServerMock | # Description
Implemented some of the methods related with recipes in `ServerMock` .
We can now use the methods `getCraftingRecipe` and `craftItem` for `Shapeless` recipes.
I tried to develop the code for `Shaped` recipes but this part is so complex that I think it's better to do it in a separated pull request.
... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/ServerMock.java b/src/main/java/org/mockbukkit/mockbukkit/ServerMock.java
index ad38cf41f0..1116630f89 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/ServerMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/ServerMock.java
@@ -1084,39 +1084,49 @@ public Re... | 4 | 4 | 2 | [{"id": "G0", "claim": "The craftItem(craftingMatrix, world, player) overload ignores its player parameter and Paper applies extra player-related checks there, so the method should throw UnimplementedOperationException since player-less alternatives exist.", "category": "design", "verdict": "supported", "priority": "P1... | null |
MockBukkit__MockBukkit__1288 | MockBukkit/MockBukkit | 1,288 | defect | c5f436c5d156e015da1c0b61287d673e1db90bdc | 3092ffeb69ae4049237a242cf349f8d79f96c26d | Adding player-on-player damage and ability to retrieve the killer | # Description
I added this test:
```java
@Test
void damage_Player_Kills_OtherPlayer()
{
var killer = server.addPlayer();
player.simulateDamage(player.getHealth(), killer);
assertEquals(0, player.getHealth(), 0);
assertTrue(player.isDead());
assertEquals(kill... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/LivingEntityMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/LivingEntityMock.java
index b22cf284bd..7f24ea635f 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/LivingEntityMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/Liv... | 2 | 2 | 0 | [{"id": "G0", "claim": "The hardcoded death message in PlayerMock::setHealth should use the existing translated death messages from resources/translations (e.g. a `death.attack.*` key with placeholder names) instead of the hand-built \"was slain by\" string.", "category": "design", "verdict": "supported", "priority": "... | null |
MockBukkit__MockBukkit__1299 | MockBukkit/MockBukkit | 1,299 | defect | 99b5ed97c3349d1fd2769a660c903b4c3e6f5aaa | 102205b84531d4224dd3ff357ffa43d94ca1780d | Fixed Chest Inventory State not being updated in test | # Description
This issue resolves #1293. The issue here was the method `createInventoryCopy`.
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/block/state/BeaconStateMock.java b/src/main/java/org/mockbukkit/mockbukkit/block/state/BeaconStateMock.java
index fe3dd202af..a5f0256f0e 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/block/state/BeaconStateMock.java
+++ b/src/main/java/org/mockbukkit/mockbukki... | 2 | 1 | 1 | [{"id": "G0", "claim": "The ContainerStateMock copy constructor should copy the inventory rather than share the original state's inventory, and this should be confirmed against a real paper server instance.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
MockBukkit__MockBukkit__1302 | MockBukkit/MockBukkit | 1,302 | defect | 46f576d65cb77e8c13c895eed0ebe73f8d29ec13 | 6a8d80f7ec91ef0753ea93fa06dc4561ec006bcc | Implemented new methods for CreakingMock and RegistryMock | # Description
Added logic for the new methods introduced in commits https://github.com/PaperMC/Paper/commit/fc56c728c0790a6d493ac380c313c940e1100615 and https://github.com/PaperMC/Paper/commit/b00875f86d155741d7a185fe107564203f3a9bca.
# Checklist
The following items should be checked before the pull request can be... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/CreakingMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/CreakingMock.java
index ec42a18480..636cb83a0b 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/CreakingMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/CreakingMock.ja... | 6 | 3 | 2 | [{"id": "G0", "claim": "The overridden activate method should have Javadoc added.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A constant (or shared helper) should be extracted for the repeatedly used sound construction.", "category": "maintainabi... | null |
MockBukkit__MockBukkit__1305 | MockBukkit/MockBukkit | 1,305 | defect | 8145e97b86806bf46bcee7aec854b2877e42cb30 | 98f190b889e0abf42cfec93f76c3049d33d36fe2 | Fix item meta mock equality defects | # Description
Primary intent is to fix hashcode(), equals(), clone(), copy constructor to act on full ItemMetaMock state.
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/PlayerMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/PlayerMock.java
index b2bf3108bb..3876c2c020 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/PlayerMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/PlayerMock.java
@@ -3... | 2 | 2 | 0 | [{"id": "G0", "claim": "ItemMetaMock's serialization has been failing to capture and restore all fields, so the serialization tests, which depend on the equals method, are failing.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}, {"id": "G1", "claim": "Replace the loop-ba... | null |
MockBukkit__MockBukkit__1324 | MockBukkit/MockBukkit | 1,324 | defect | a8b21111c238a982d3f0be244bece976d8f3a33a | 77519af2eb534ddf81c5ec60b0b727a550cae913 | Added Entity Text Display | # Description
Implemented mocks for [Text Display](https://jd.papermc.io/paper/1.21.4/org/bukkit/entity/TextDisplay.html).
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (if applicable).
# Relates
- https://gi... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/EntityTypesMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/EntityTypesMock.java
index fd91018f62..b6628f3b70 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/EntityTypesMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/Entity... | 1 | 1 | 0 | [{"id": "G0", "claim": "The switch in setAlignment is redundant and should be replaced with the direct assignment this.textAlignment = alignment, which is equal to it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1325 | MockBukkit/MockBukkit | 1,325 | defect | a8b21111c238a982d3f0be244bece976d8f3a33a | 9336cd38308a542deeca41fda3150c85281fbcf1 | Improved InventoryMock to mirror items properly | # Description
This PR fixes the issue #1322. Paper implements the delegate pattern in the CraftItemStack to support the changes in the minecraft item. To emulate this implementation and respect that `getItem` and `getContent` are mirror and not same class, it was required to implement a classe named `ItemStackMirror`.... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java b/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java
index 35b26f48dd..3ba8a0d1ce 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java
@@ -1,10 +1,5... | 3 | 2 | 1 | [{"id": "G0", "claim": "The tests only call assertEquals(originalItem, mirror), and since assertEquals checks only obj1.equals(obj2), the mirror-to-original direction is unexercised, so it might cause issues and ItemStackMirror#equals needs to be tested as well (e.g. assertEquals(mirror, originalItem)).", "category": "... | null |
MockBukkit__MockBukkit__1327 | MockBukkit/MockBukkit | 1,327 | defect | e2c6d1c4c68d75b4ad8d0ba0c052832b66a7ad24 | 2a2f864323681d6e7a6f2fd31669e6dc3c32f9fc | Implement more methods in PlayerMock | # Description
This PR implements some methods in the PlayerMock.
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/HumanEntityMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/HumanEntityMock.java
index 6bf5e099a6..d6960c2868 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/HumanEntityMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/HumanE... | 2 | 2 | 0 | [{"id": "G0", "claim": "In HumanEntityMock.hasCooldown(@NotNull ItemStack) the null-check message should read \"ItemStack cannot be null\" instead of \"Material cannot be null\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In HumanEntityMock th... | null |
MockBukkit__MockBukkit__1329 | MockBukkit/MockBukkit | 1,329 | defect | a147d89313977d0d1b3f64f43167234d2de15d68 | 43d7682bc03424b26f65c8bfcad8e5162d98dfa5 | Remove equals and hash code override in inventory mock + other fixes | # Description
I think a lot of tests are failing here, and I believe that's because the inventory should not be cloned when copying a state. But damn inventory stuff is so messy. There's no general principle to follow so messy....
With the current implementation, two separate inventories would be considered equal i... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java b/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java
index 3ba8a0d1ce..b061581b09 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/block/BlockMock.java
@@ -23,10 +23... | 2 | 1 | 0 | [{"id": "G0", "claim": "Including the inventory's owner in the equals operation might fix the messy inventory equality behavior.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "getSnapshot should avoid reflection and instead return new InventoryMock(... | null |
MockBukkit__MockBukkit__1403 | MockBukkit/MockBukkit | 1,403 | defect | bf2c9c1c0a478e1c68c24dd334c161d6e2725c1c | 4cabf5a2ce205d258ec87c3494e89825dbc7cd61 | chore: lots of cleanups in the code | I noticed a few areas that could use improvements.
(well, actually IntelliJ noticed those, and I just started to apply them 🤣 )
Doing that I also fixed a bug with `containsValue` (it was only checking the first command, not all!)
| diff --git a/build.gradle.kts b/build.gradle.kts
index 23065833ea..e69e556ec3 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -209,10 +209,6 @@ mavenPublishing {
}
}
-fun isFork(): Boolean {
- return run("git", "config", "--get", "remote.origin.url").contains("MockBukkit/MockBukkit")
-}
-
fun isAction(): ... | 13 | 9 | 7 | [{"id": "G0", "claim": "The added assertion `assertTrue(map.containsKey(\"other_command\"))` is now a duplicate of the previous line and can probably be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "A sonar issue that was there before ... | null |
MockBukkit__MockBukkit__1408 | MockBukkit/MockBukkit | 1,408 | defect | 874f648853c8037674e84a32cc97a02bebbf4a94 | da2e25522049ba208eb2437745ecce90777c25e7 | feat: Adding particle spawning | # Description
Very simple implementation for particle spawning. As this is a purely visual feature, I just keep track inside the world which particles have been spawned so it can be checked by the developer.
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code ... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/util/SpawnedParticle.java b/src/main/java/org/mockbukkit/mockbukkit/util/SpawnedParticle.java
new file mode 100644
index 0000000000..d87a2df151
--- /dev/null
+++ b/src/main/java/org/mockbukkit/mockbukkit/util/SpawnedParticle.java
@@ -0,0 +1,25 @@
+package org.mockbuk... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since getSpawnedParticles() and clearSpawnedParticles() do not override any method from Bukkit/Paper, they should include Javadocs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1412 | MockBukkit/MockBukkit | 1,412 | defect | 4357be5e5b6c494233daad24756e98e68fb34192 | 9d3e4a7177f136c03d7e8b4335491423c67027f3 | feat: allow for more injections | # Description
right now you can only inject the server, but what about player, world or plugins? Quite often used as well.
I extended the code to add this behaviour.
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Unit tests... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.java b/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.java
index c137aed0bd..56ae85ddc5 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.ja... | 2 | 2 | 0 | [{"id": "G0", "claim": "Suggests adding an optional name parameter to the MockBukkitInject annotation that would be used to name the generated mock (possibly throwing at test start when a required field lacks one), to clarify where the mock's name comes from.", "category": "design", "verdict": "supported", "priority": ... | null |
MockBukkit__MockBukkit__1442 | MockBukkit/MockBukkit | 1,442 | defect | 50966a8c0972adc57f0c3f9dbe5b0f28c0205a6a | 384305fd6002f51000203f12a64dd46b5747951b | fix: implement AttributeInstanceMock's missing methods | - [x] Code follows existing style.
- [x] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.java b/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.java
index 57f98b7c44..749aa3720a 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/MockBukkitExtension.ja... | 4 | 4 | 3 | [{"id": "G0", "claim": "getModifiers should return a modifiable collection, as the paper implementation does, rather than an unmodifiable one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getModifier should throw an IllegalArgumentException (as pa... | null |
MockBukkit__MockBukkit__1472 | MockBukkit/MockBukkit | 1,472 | defect | b9e11ef9b37f9f59699e7630c1326f4161999590 | 3924efed96ebf8368906af8ed92d2e08722021f3 | Implement initial support for Paper API | # Description
This pull request adds an initial check to `PluginManagerMock.java` to load the `paper-plugin.yml` file before checking if `plugin.yml` exists.
# Checklist
The following items should be checked before the pull request can be merged.
- [X] Code follows existing style.
- [X] Unit tests added (i... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/plugin/PluginManagerMock.java b/src/main/java/org/mockbukkit/mockbukkit/plugin/PluginManagerMock.java
index 83f7d4e9e7..bc8f5f4873 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/plugin/PluginManagerMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/plugin/... | 2 | 2 | 0 | [{"id": "G0", "claim": "For consistency, the FileNotFoundException message should list 'paper-plugin.yml' before 'plugin.yml'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should assert the loaded plugin is a PaperTestPlugin, not just... | null |
MockBukkit__MockBukkit__1490 | MockBukkit/MockBukkit | 1,490 | defect | af34b1d30cbc32ff2055b07a72e379fe74aec96f | 5a621d7824aab1277cd309eccacea030c3c16739 | feat(blockdata): Implement CaveVines Blockdata | # Description
<!-- State the changes of the pull request below. -->
# Checklist
The following items should be checked before the pull request can be merged.
- [ ] Code follows existing style.
- [ ] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/block/data/BlockDataKey.java b/src/main/java/org/mockbukkit/mockbukkit/block/data/BlockDataKey.java
index 52f5437117..e114751092 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/block/data/BlockDataKey.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/block/data... | 1 | 1 | 0 | [{"id": "G0", "claim": "The isBerries() override in CaveVineDataMock is redundant because the method is deprecated with a default implementation, so it should be removed.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1491 | MockBukkit/MockBukkit | 1,491 | defect | 33598bed5e1d6a285d03b0df8f4866545a3a8359 | 17e9bdce7c8a911dd372db844c53d8c5826d3f6f | Implement Leaves Blockdata | # Description
<!-- State the changes of the pull request below. -->
# Checklist
The following items should be checked before the pull request can be merged.
- [ ] Code follows existing style.
- [ ] Unit tests added (if applicable).
| diff --git a/src/main/java/org/mockbukkit/mockbukkit/block/data/BlockDataKey.java b/src/main/java/org/mockbukkit/mockbukkit/block/data/BlockDataKey.java
index 6584f77ad2..f37693a8c2 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/block/data/BlockDataKey.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/block/data... | 1 | 1 | 1 | [{"id": "G0", "claim": "The MIN_DISTANCE/MAX_DISTANCE values in LeavesDataMock should be mined using MetaMiner (as done for TurtleEgg in MaterialDataGenerator) instead of being hardcoded.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MockBukkit__MockBukkit__1520 | MockBukkit/MockBukkit | 1,520 | defect | 60e56b55bf8831ed43ea644baf05e23b6322f188 | 5d7b5a9674a8ca8713fa737f2ccf1369d1761698 | feat: implement LivingEntityMock:isHandRaised with state management | - Added handRaised boolean field to track if a hand is raised
- Added raisedHand field to track which hand is raised (HAND or OFF_HAND)
- Implemented isHandRaised() to return the hand raised state
- Implemented getHandRaised() to return which hand is raised
- Added setHandRaised(boolean, EquipmentSlot) to allow set... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/LivingEntityMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/LivingEntityMock.java
index 681378c9c5..a3c2747602 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/LivingEntityMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/Liv... | 1 | 1 | 1 | [{"id": "G0", "claim": "The two-argument setHandRaised(boolean, EquipmentSlot) should be replaced by a single nullable-argument setHandRaised(@Nullable EquipmentSlot) (null = no hand raised), with a precondition validating the EquipmentSlot is null, HAND or OFF_HAND, and isHandRaised() derived from the raised hand.", "... | null |
MockBukkit__MockBukkit__1525 | MockBukkit/MockBukkit | 1,525 | defect | 5475f5dca9bdcdef33776c2f7d41ce39dd002208 | a372b232108b3c6109d0c9de93a83075531f5962 | feat: implement WorldMock.spawnArrow methods with basic arrow flight simulation | ## Summary
Implements the two previously unimplemented `spawnArrow` methods in `WorldMock` and adds basic arrow flight simulation via a `tick()` method in `AbstractArrowMock`.
## Changes
- ✅ Implement `spawnArrow(Location, Vector, float, float)` as shorthand for `Arrow.class`
- ✅ Implement `spawnArrow(Loc... | diff --git a/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractArrowMock.java b/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractArrowMock.java
index b1e8489351..ddd4f26e9a 100644
--- a/src/main/java/org/mockbukkit/mockbukkit/entity/AbstractArrowMock.java
+++ b/src/main/java/org/mockbukkit/mockbukkit/entity/... | 8 | 7 | 4 | [{"id": "G0", "claim": "Using ThreadLocalRandom for the arrow spread makes the tests non-deterministic; the reviewer asked for a seeded Random stored as a field on WorldMock so the tests are reproducible.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
MockBukkit__MockBukkit__1531 | MockBukkit/MockBukkit | 1,531 | defect | 5475f5dca9bdcdef33776c2f7d41ce39dd002208 | 4793e6826399622061ae4fd98ce9258e32e9cf01 | Add Player Argument Type for Brigadier | # Description
Added `ArgumentTypes.player()` and `ArgumentTypes.players()` as discussed a while ago in https://discord.com/channels/792754410576019477/809866076606693427/1396918734945521685
The error messages are the same as the ones you get from Paper
<img width="836" height="272" alt="image" src="https://github.... | diff --git a/src/main/java/io/papermc/paper/command/brigadier/argument/VanillaArgumentProviderMock.java b/src/main/java/io/papermc/paper/command/brigadier/argument/VanillaArgumentProviderMock.java
new file mode 100644
index 0000000000..2074df7a51
--- /dev/null
+++ b/src/main/java/io/papermc/paper/command/brigadier/argu... | 2 | 2 | 0 | [{"id": "G0", "claim": "Reduce the tests' scope to unit tests that call parse().resolve() directly instead of registering commands and dispatching through the server, and add negative cases such as a single-player selector receiving @a.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
MockBukkit__MockBukkit__868 | MockBukkit/MockBukkit | 868 | defect | b2276f92e8f003034fcd59fa0a6570dc63504fc3 | be75e8b3adeb18721887701a31fbdc28c4abaf68 | Add Ocelot Mock | # Description
<!-- State the changes of the pull request below. -->
Adding the OcelotMock class
Added class OcelotMockTest
Testing the Ocelot spawn in WorldMockTest
# Checklist
The following items should be checked before the pull request can be merged.
- [x] Code follows existing style.
- [x] Unit tests adde... | diff --git a/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java b/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
index e481c2546d..7e6a4a61e6 100644
--- a/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
+++ b/src/main/java/be/seeseemelk/mockbukkit/WorldMock.java
@@ -41,6 +41,7 @@
import be.seeseemelk.m... | 3 | 3 | 3 | [{"id": "G0", "claim": "OcelotMock.setCatType should throw an UnsupportedOperationException instead of silently storing the type, as Paper does.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "OcelotMock.getCatType should always return Type.WILD_OCEL... | null |
ModProg__derive-where__105 | ModProg/derive-where | 105 | defect | b368804be734710b393924fc3e555dc1993084e9 | 5d00b0c01c68159f7dbe4beee5f02de164e36101 | skip(Clone) | fixes #104 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 24e14554..8c87f89d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+###... | 5 | 3 | 1 | [{"id": "G0", "claim": "Letting `Clone` call `default()` under the term `skip` clashes with the general usage of `derive_where(skip)`; a dedicated attribute such as `derive_where(clone_default)` or `derive_where(clone(default))` would be better.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "... | null |
ModProg__derive-where__107 | ModProg/derive-where | 107 | defect | ad5422d226ad9136110e55f018111ecd1761e1e6 | e9563a810143dcdc69b00c888493d7c9f6cdedfc | Feat: Allow lifetime for bounds in non-binded generic params | It's currently not possible to use higher rank trait bounds without providing custom predicate type bounds. Our particular use case is enabling "trivial bounds" without requiring the nightly feature. For context: https://github.com/rust-lang/rust/issues/48214#issuecomment-2799836786
For example:
```rust
// fails... | diff --git a/src/attr/item.rs b/src/attr/item.rs
index e0b6d03f..94418d75 100644
--- a/src/attr/item.rs
+++ b/src/attr/item.rs
@@ -7,7 +7,7 @@ use syn::{
parse::{discouraged::Speculative, Parse, ParseStream},
punctuated::Punctuated,
spanned::Spanned,
- Attribute, Data, Ident, Meta, Path, PredicateType, Result, To... | 5 | 5 | 0 | [{"id": "G0", "claim": "Add a blank line between the `GenericNoBound` struct definition and its `impl Parse` block, per rustfmt style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use named fields for the `GenericNoBound` struct instead of a t... | null |
ModProg__derive-where__116 | ModProg/derive-where | 116 | defect | 5470b4fca3ab3a6424f88dc29ec20bf1af255ae1 | 4e3de4d2f606bee93d5024e3dbb0ceead449326e | Stop Using Internal APIs | This changes the implementation of `Eq` to not use `Eq::assert_receiver_is_total_eq()` and the implementation of `ZeroizeOnDrop` to not use `zeroize::__internal`. Both are `doc(hidden)` and therefor unstable APIs.
Resolves #115. | diff --git a/.config/topic.dic b/.config/topic.dic
index 1d556917..e6947e15 100644
--- a/.config/topic.dic
+++ b/.config/topic.dic
@@ -1,5 +1,6 @@
-18
+19
≥1
+APIs
Changelog
CHANGELOG
derive_bounded
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6d4f1c8b..b115f626 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11... | 1 | 1 | 0 | [{"id": "G0", "claim": "At some point the PR could consider creating its own types for the assert machinery, though that would require a non-procmacro crate.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ModProg__derive-where__123 | ModProg/derive-where | 123 | defect | 04c70561836ad47f8ee6edf08edb09ad44e9a078 | db9f9252fe18bcb777624bc643a47a40259efd11 | Allow `#[serde(...)]` attributes without deriving `De/Serialize` | This removes the limitation of not being able to use `#[serde(...)]` attributes when not deriving `De/Serialize` with `#[derive_where(...)]`.
Cc @fjarri.
Resolves #122. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ac08ed9..9fe5a8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Vers... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request should add a test showing that a `#[serde(...)]` attribute without deriving `De/Serialize` no longer throws an error.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author asks whether replacing the commented... | null |
ModProg__derive-where__14 | ModProg/derive-where | 14 | defect | 438511c52529cd149fd73d677e94954a164ab733 | 3524d58f96e5c9ca1711336e8b2033fa9819730c | Add license and document missing fields in Cargo.toml | closes #6 #11 | diff --git a/Cargo.toml b/Cargo.toml
index 2952835f..5f349be8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,17 @@
[package]
-name = "derive-restricted"
+name = "derive-where"
version = "0.1.0"
edition = "2021"
+# rust-version
+description = "Deriving with custom trait bounds"
+documentation = "https://docs.rs/... | 3 | 1 | 0 | [{"id": "G0", "claim": "The `homepage` field should be removed because there is no homepage and setting it to the repository is probably not helpful.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `documentation` and `readme` fields should/c... | null |
ModProg__derive-where__36 | ModProg/derive-where | 36 | defect | c4e01dcb7cb8097f759fe2c0d3c268bbfd51346c | 19a06ece736bdb3de55ec224df49e61ac222e187 | Attribute proc-macro follow up | Fixes #35.
I added a note in the README, but noticed that actually setting the path can produce some pretty unexpected behavior.
What do you think of adding an error if a `derive_where::derive_where` is found as not the first attribute? This isn't bulletproof of course because `derive_where_export::derive_where` ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 683cdcbf..0a29c767 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Support [`ZeroizeOnDrop`](https://docs.rs/zeroize/1.5.0-pre/zeroize/trait.ZeroizeOnDrop.html).
+... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add a way to mark that an item was already handled by the derive_where macro — such as a marker comment, a hidden doc comment or no-op attribute, or a `crate` setting — so a follow-up proc-macro attribute could error out.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope":... | null |
ModProg__derive-where__37 | ModProg/derive-where | 37 | defect | c4e01dcb7cb8097f759fe2c0d3c268bbfd51346c | 668c7f3c9ff6cd0e616a474e8bad011ceaad81e1 | Implement placeholder attribute to prevent multiple `derive_where`s with different paths | This addresses a suggestion I made in #36. It implements a placeholder attribute that is applies when a `derive_where` attribute is processed. Any subsequent calls to `derive_where` with different paths will error out when they find this attribute.
Additionally:
- Adds a `#[derive_where(crate = "derive_where_")]` o... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 683cdcbf..997bd20d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
-- Support [`ZeroizeOnDrop`](https://docs.rs/zeroize/1.5.0-pre/zeroize/trait.Zeroi... | 5 | 4 | 1 | [{"id": "G0", "claim": "The CHANGELOG should also document the whole change to the proc-macro (the placeholder-attribute feature), not just the zeroize version bump.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error emitted for `#[derive_wh... | null |
ModProg__derive-where__61 | ModProg/derive-where | 61 | defect | 939e3754f734d3c6f24b80260dbe5f5810591e22 | c55dc018a44aba6cf9b1b202115cf7534ff7ac36 | Add non-exhaustive `Debug` output for structs | Somehow we only did integration tests on tuple structs, so I added some more to specifically test this feature.
On the way I learned a cool thing how you can skip tests without having to adjust your `Cargo.toml`, just hide them behind a folder, which I did now. This also fixes the Rustfmt issue.
~~Additionally I ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3eb0b08d..e21def07 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Updated `syn` to v2.
+- `Debug` output of structs that skip fields appears `non_exhaustive` no... | 1 | 1 | 0 | [{"id": "G0", "claim": "A test covering `Debug` output for struct enum variants (enum variants with named fields) should be added.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ModProg__derive-where__64 | ModProg/derive-where | 64 | defect | adf1370ef48292b57db0039513fc2fb9cb0ab166 | 23a0bc1e2fe76016b8dbf35b695202d3e5e0cbee | Handle raw identifiers in named fields | The tests could probably moved to successful UI tests, but it doesn't really matter.
Fixes #63. | diff --git a/src/data/field.rs b/src/data/field.rs
index 4c1a63e5..a63d1114 100644
--- a/src/data/field.rs
+++ b/src/data/field.rs
@@ -4,7 +4,7 @@ use std::fmt::{self, Display, Formatter};
use proc_macro2::{Span, TokenStream};
use quote::{format_ident, IdentFragment, ToTokens, TokenStreamExt};
-use syn::{Attribute,... | 2 | 2 | 1 | [{"id": "G0", "claim": "The ToTokens impl for Member should use `.to_tokens` (e.g. `Member::Named(ident) => ident.unraw().to_tokens(tokens)`) instead of `tokens.append_all(Some(...))`, and similar implementations elsewhere should be checked too.", "category": "maintainability", "verdict": "supported", "priority": "P2",... | null |
ModProg__derive-where__76 | ModProg/derive-where | 76 | defect | 7eaf87018416518ad50f9aff300e20d5dcaae684 | de1c41ef66ba949c679189d2d815ac4b198ee867 | Take representation into account for `(Partial)Ord` | Would like to add more tests, but that's it.
On that note, I also improved a the `(Partial)Ord` generation on `safe`! | diff --git a/src/data.rs b/src/data.rs
index da002059..a4627c72 100644
--- a/src/data.rs
+++ b/src/data.rs
@@ -255,7 +255,7 @@ impl<'a> Data<'a> {
}
/// Returns the destructuring `other` pattern of this [`Data`].
- #[cfg(all(not(feature = "nightly"), feature = "safe"))]
+ #[cfg(not(feature = "nightly"))]
pub fn... | 4 | 4 | 1 | [{"id": "G0", "claim": "Use `syn::Fields::is_empty` instead of the hand-written match checking named/unnamed field emptiness when computing `is_unit`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cfg nesting around the nightly/unsafe imple... | null |
ModbusScope__ModbusScope__363 | ModbusScope/ModbusScope | 363 | defect | dc207b35ba8771e2c3e49cdc82b8124747b492ce | d40ca9150e71113778615aa0e8cdb99489ce642c | MBC import improvements | <!-- Korbit AI PR Description Start -->
## Description by Korbit AI
### What change is being made?
Enhance the MBC import dialog by adding drag-and-drop functionality for file imports, improve the MbcRegisterModel by replacing manual metadata management with a cleaner data structure, adjust user interface elements, a... | diff --git a/src/models/mbcregistermodel.cpp b/src/models/mbcregistermodel.cpp
index 069d337b6..fda6e55e4 100644
--- a/src/models/mbcregistermodel.cpp
+++ b/src/models/mbcregistermodel.cpp
@@ -170,7 +170,8 @@ bool MbcRegisterModel::setData(const QModelIndex & index, const QVariant & value
bool bRet = false;
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The updateAlreadySelected method performs two distinct operations — collecting selected addresses and updating item status — violating the Single Responsibility Principle, and should be split into two focused methods (collectSelectedAddresses and updateItemsStatus).", "category": "design", "verd... | null |
ModbusScope__ModbusScope__387 | ModbusScope/ModbusScope | 387 | defect | 383ac640b9db93a59475bcd0af84c4a415641dbc | 52e6117ef74ef6bbc391b9a8148d228adb6b05b1 | Add name for device | <!-- Korbit AI PR Description Start -->
## Description by Korbit AI
### What change is being made?
Add support for naming devices and display the device name (as "device id N" in descriptions) across the Modbus and UI/model layers; extend Device to store and edit a name, update DeviceModel to show and edit the Name c... | diff --git a/src/communication/modbusregister.cpp b/src/communication/modbusregister.cpp
index 783189624..8a4dd4d6d 100644
--- a/src/communication/modbusregister.cpp
+++ b/src/communication/modbusregister.cpp
@@ -44,7 +44,7 @@ ModbusDataType::Type ModbusRegister::type() const
QString ModbusRegister::description() co... | 1 | 1 | 0 | [{"id": "G0", "claim": "Device::setName should pass QString by const reference instead of by value to avoid unnecessary copying of the string.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ModbusScope__ModbusScope__388 | ModbusScope/ModbusScope | 388 | defect | 15d447a03d36f614e83ae69e5ed770dee4be9805 | d78f185ce76d61a0594e46cf43c28e026a5b79ec | Update mbs handling | <!-- Korbit AI PR Description Start -->
## Description by Korbit AI
### What change is being made?
Extend project file handling to support per-device configuration by introducing DeviceSettings, adding device tags to the exporter/parser, and updating the settings model to manage multiple devices.
### Why are these c... | diff --git a/src/importexport/projectfiledata.h b/src/importexport/projectfiledata.h
index 12b838db0..b1b9883cc 100644
--- a/src/importexport/projectfiledata.h
+++ b/src/importexport/projectfiledata.h
@@ -2,6 +2,7 @@
#define PROJECTFILEDATA
#include "models/connectiontypes.h"
+#include "models/device.h"
#include <... | 4 | 2 | 0 | [{"id": "G0", "claim": "removeAllDevice() clears all devices but doesn't recreate the default first device initialized in the constructor, breaking the class invariant that Device::cFirstDeviceId is always present.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
ModbusScope__ModbusScope__396 | ModbusScope/ModbusScope | 396 | defect | 47e791ebd51bdfbbd2f7d831fcd117dff5709b13 | 714371b2cb391ea64608ef6ee62018963d57037f | Support legacy project file |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added documentation section describing project file “datalevels” (levels 1–5) and their capabilities.
* **Improvements**
* Improved parsing to handle legacy project files and newer datalevels... | diff --git a/docs/technical/project_file.md b/docs/technical/project_file.md
new file mode 100644
index 000000000..07708bd2e
--- /dev/null
+++ b/docs/technical/project_file.md
@@ -0,0 +1,18 @@
+# Project file
+
+## Datalevels
+
+- Datalevel 1:
+ -
+- Datalevel 2:
+ -
+- Datalevel 3:
+ - Introduced in v3.4.0 (02/03... | 5 | 2 | 0 | [{"id": "G0", "claim": "Fix the spelling of \"Introdcued\" to \"Introduced\" in the datalevel 5 documentation bullet.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Extract the roughly 120 lines of connection parsing logic duplicated between parse... | null |
ModbusScope__ModbusScope__400 | ModbusScope/ModbusScope | 400 | defect | 0d1d0e8149c977c1a3b1d347be081980c92ffd9c | 49c59bcafac67445c975f4cf25681826e8c96ee7 | Update notes handling |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added visual padding to note items for improved display
* Added utility functions to compute decimal precision from ranges and to round values
* **Bug Fixes**
* Improved coordinate conversi... | diff --git a/docs/technical/docs.md b/docs/technical/docs.md
new file mode 100644
index 000000000..9f1bd6335
--- /dev/null
+++ b/docs/technical/docs.md
@@ -0,0 +1,22 @@
+# User documentation
+
+## Generate
+
+* Run `create_doc.sh` scripts
+
+## Journal
+
+### Update dependencies (05/12/2025)
+
+* sphinx-rtd-theme (upda... | 10 | 4 | 0 | [{"id": "G0", "claim": "The new docs misspell the package name as 'Spinx'; it should read 'Sphinx'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "'Run `create_doc.sh` scripts' reads oddly for a single script; 'script' would be clearer.", "categor... | null |
ModbusScope__ModbusScope__401 | ModbusScope/ModbusScope | 401 | defect | 01430dbff40b45ff5fa918dff40ce2fb41e87481 | 478b3b5d2de8215c2554e84c241b0c53e86b2274 | Add error indication to registers |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Visual Improvements**
* Updated invalid-data colour for clearer legend and editor feedback.
* **Validation & Status**
* Expression validation now includes device-availability checks and reports refined expres... | diff --git a/src/customwidgets/legend.cpp b/src/customwidgets/legend.cpp
index 48553035d..9b7994c01 100644
--- a/src/customwidgets/legend.cpp
+++ b/src/customwidgets/legend.cpp
@@ -300,7 +300,8 @@ void Legend::updateValueDataInLegend()
_pLegendTable->item(i, cColummnValue)->setText(dataValue);
- ... | 4 | 3 | 0 | [{"id": "G0", "claim": "Rename the new test slot notExistingdevice to notExistingDevice in tests/communication/tst_modbuspoll.h and tst_modbuspoll.cpp to keep the camelCase convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Confirm that ... | null |
ModbusScope__ModbusScope__415 | ModbusScope/ModbusScope | 415 | defect | e77338f39f99bfbdd3cd3a19ba7706c48293dccf | 5501ebcd5a72ab1856655982bf7209597480767a | Improve diagnostics |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Changes**
* Reduced default logging verbosity; many messages now appear only in debug mode and error messages have clearer formatting.
* Removed some informational startup and intermediate logs for cleaner out... | diff --git a/src/communication/modbusmaster.cpp b/src/communication/modbusmaster.cpp
index 5135a1b62..6c421ad87 100644
--- a/src/communication/modbusmaster.cpp
+++ b/src/communication/modbusmaster.cpp
@@ -4,6 +4,7 @@
#include "communication/modbusresultmap.h"
#include "communication/readregisters.h"
#include "models... | 7 | 4 | 1 | [{"id": "G0", "claim": "DiagnosticDialog copies rows using proxy-model indices directly against the source model, so the wrong rows will be copied whenever the severity filter hides any entries.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "logDe... | null |
ModbusScope__ModbusScope__419 | ModbusScope/ModbusScope | 419 | defect | a4d44c98b437d6c211964c81392de9d98696e6aa | 2dc73714f897129c36d756ae680610b22baaa286 | Muparser fix |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Error messages for failed expression evaluations are clearer and no longer include redundant original-expression text.
* **Refactor**
* Parser interface improved: safer copy/assignment behaviour... | diff --git a/src/datahandling/graphdatahandler.cpp b/src/datahandling/graphdatahandler.cpp
index de69816af..916286824 100644
--- a/src/datahandling/graphdatahandler.cpp
+++ b/src/datahandling/graphdatahandler.cpp
@@ -88,8 +88,7 @@ void GraphDataHandler::handleRegisterData(ResultDoubleList results)
{
... | 14 | 7 | 0 | [{"id": "G0", "claim": "The class has a user-defined deep-copy copy constructor and a user-defined destructor but no copy assignment operator, so the implicit member-wise shallow copy would leave two objects owning the same _pExprParser allocation and any copy assignment would double-free; define a proper copy assignme... | null |
ModbusScope__ModbusScope__424 | ModbusScope/ModbusScope | 424 | defect | 9fba4fabb39f0cab1ac041c5b6dd749333cdce58 | 013a1b57fa7043f8339bdff694ff33766d53ff0f | Fix reading same register address on multiple devices on same serial connection. | Fix for #423
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Fixed incorrect data display when polling multiple devices (distinct slave IDs) on the same connection.
* **Tests**
* Added comprehensive multi-slave tests and a lightweight multi-sl... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ebc4355a6..8fa99a10e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,7 @@ The latest *ModbusScope* installer or standalone version can always be downloade
### Fixed
-* xx
+* Fix incorrect data displayed when polling multiple devices on the same connection (e.g... | 7 | 6 | 3 | [{"id": "G0", "claim": "Sockets that disconnect naturally are never removed from _sockets, so a later stopListening() could operate on dangling pointers; connect disconnected to remove the socket from the list.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
ModelEngine-Group__app-platform__173 | ModelEngine-Group/app-platform | 173 | defect | 4994194d15977e6261d9a778537d80877aac134d | e6ae8b5159479e298b5eeb7ee4bc61cd54a406f9 | 修改知识库配置应用问题 | 1. 修改应用知识检索节点模版
2. 修改知识库配置增删改逻辑
3. 修改知识库配置表单打包文件 | diff --git a/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql b/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql
index 86c05af9db..b25b39eace 100644
--- a/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql
+++ b/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql
@@ -99,11 +99,11 @@ VALUES ('... | 3 | 3 | 0 | [{"id": "G0", "claim": "The comment inside the isDefault branch should explain the reason for the behaviour rather than describing what the code does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A space should be added between the log message d... | null |
ModelEngine-Group__app-platform__189 | ModelEngine-Group/app-platform | 189 | defect | 510ba31edfe569cded5099a26ac26863313ed8b6 | 7b79179422de0c3735f82e21e9d1b2b18d1ce801 | [app-platform] bugfix in knowledge base feature | 1. modify flow graph template
2. retrieval node add "knowledgeConfigId" key in retrieval option configuration
3. modify t_app_engine_user_knowledge table sql, add knowledge_config_id column
4. add http interface to query user's knowledgeConfigId | diff --git a/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql b/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql
index b25b39eace..9d26edd717 100644
--- a/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql
+++ b/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql
@@ -99,11 +99,11 @@ VALUES ('... | 2 | 2 | 0 | [{"id": "G0", "claim": "The Javadoc of the new getKnowledgeConfigId method in KnowledgeController.java is not formatted per the project's style (no space between CJK and half-width text, missing separator line).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1"... | null |
ModelEngine-Group__app-platform__221 | ModelEngine-Group/app-platform | 221 | defect | c4200739d7ed25adb7ac39108e0e194b9cf2a9b4 | 4b0a0f71d7508f796d05012e479b302bf0e8b11c | [app-builder] 头像路径配置化 | 1. 当前保存头像路径时候,是写死在 /var/share 目录下。当前将其改成配置化
2. 部分单测在macos、linux下因为头像路径写死的缘故,无法通过。将其改成临时目录 | diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/domains/appversion/AppVersion.java b/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/domains/appversion/AppVersion.java
index 7fdb15b41d..0478887838 100644
--- a/app-builder/jane/plugins/aipp-plugin/... | 3 | 3 | 1 | [{"id": "G0", "claim": "The icon save path should not stay hardcoded (AppImExportUtil.NAS_SHARE_DIR); the PR should make the NAS path configurable through application configuration instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc comme... | null |
ModelEngine-Group__app-platform__272 | ModelEngine-Group/app-platform | 272 | defect | ab0bdfd3c7ed641845a62242591915c1faa0656f | 99349c767c4466766330726a5c894977e39a5200 | [app-builder] Persist the output of model nodes when enableLog is true | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/fitable/AippFlowEndCallback.java b/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/fitable/AippFlowEndCallback.java
index b28e56990d..23156e5251 100644
--- a/app-builder/jane/plugins/aipp-plugin/src/... | 3 | 3 | 0 | [{"id": "G0", "claim": "In logFinalOutput the two branches differ only in the log-type argument, so the reviewer asks that this variable be set conditionally and the log service called once instead of duplicating the whole call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
ModelEngine-Group__app-platform__304 | ModelEngine-Group/app-platform | 304 | defect | c1c7aaf86b49cca329ac2f9aba8be26a5250d280 | 0b7c008ffbffe5c96d030f1b121e4350a5b44263 | [app-builder] prioritize apps created by system in query results | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/store/plugins/store-repository-postgresql/src/main/resources/mapper/AppMapper.xml b/store/plugins/store-repository-postgresql/src/main/resources/mapper/AppMapper.xml
index 6ec9e7fd77..3bb2ab8a51 100644
--- a/store/plugins/store-repository-postgresql/src/main/resources/mapper/AppMapper.xml
+++ b/store/plugi... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a unit test to protect the new system-first ordering behaviour introduced in sortAndLimit.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since the goal is only to surface system-created apps first, drop the secondary i.creat... | null |
ModelEngine-Group__app-platform__323 | ModelEngine-Group/app-platform | 323 | defect | 35d0a6a68f478229b75d70f3d4a2a7e9ec3571c4 | b039d559e15146ebb42d8106bf7b61f0c018cc73 | [app-builder] support mcp tools | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/jane/plugins/aipp-plugin/pom.xml b/app-builder/jane/plugins/aipp-plugin/pom.xml
index 7722071770..7e82ceca76 100644
--- a/app-builder/jane/plugins/aipp-plugin/pom.xml
+++ b/app-builder/jane/plugins/aipp-plugin/pom.xml
@@ -134,6 +134,10 @@
<groupId>modelengine.fit.jade.waterflow</gr... | 6 | 6 | 0 | [{"id": "G0", "claim": "Prefix member method calls with `this.` — the newly added `ChatOption chatOption = buildChatOptions(businessData);` call lacks the `this.` prefix.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The method is nested too deeply; a me... | null |
ModelEngine-Group__app-platform__324 | ModelEngine-Group/app-platform | 324 | defect | 43d777612e95cc0c5956b76cf990475372163697 | 689c69eb327f1d14fee387f7698295045c121368 | 新增北向接口 | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/northbound/AippLogServiceAdapterImpl.java b/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/northbound/AippLogServiceAdapterImpl.java
new file mode 100644
index 0000000000..a6a68fb571
--- /dev/null
+... | 28 | 26 | 3 | [{"id": "G0", "claim": "The one-line constructor body must be expanded and formatted across multiple lines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The constructor Javadoc must describe what the constructor is built from and end with a fu... | null |
ModelEngine-Group__app-platform__331 | ModelEngine-Group/app-platform | 331 | defect | abfe99667ac835877c67d136427e07c335ec6d58 | f364a7ca8ce8d9750493f0acf4721f964514a2f5 | [app-platform] Modify the icon prefix in applications and templates. | ## 🔗 相关问题 / Related Issue
**Issue 链接 / Issue Link:** #278
- [x] 我已经创建了相关 Issue 并进行了讨论 / I have created and discussed the related issue
- [ ] 这是一个微小的修改(如错别字),不需要 Issue / This is a trivial change (like typo fix) that doesn't need an issue
## 📋 变更类型 / Type of Change
- [x] 🐛 Bug 修复 / Bug fix (non-breaking ... | diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/converters/IconConverter.java b/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/converters/IconConverter.java
new file mode 100644
index 0000000000..79f1827337
--- /dev/null
+++ b/app-builder/jane/pl... | 3 | 2 | 0 | [{"id": "G0", "claim": "The icon prefix logic is written too rigidly and should be abstracted into a generic capability, since it bakes in the v1 API and would need rework if upgraded to v2.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The IconConverte... | null |
ModelEngine-Group__app-platform__345 | ModelEngine-Group/app-platform | 345 | defect | e9c267b1fa0334b8d61fed735de85fc2e30be15b | 249f3b5a8b7c88965fa86cf152f876f9801c51f9 | [tool] Support for blank properties in json schema | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/store/plugins/store-tool-uploader/src/main/java/modelengine/jade/store/tool/upload/support/processor/Processor.java b/store/plugins/store-tool-uploader/src/main/java/modelengine/jade/store/tool/upload/support/processor/Processor.java
index b045d1c561..f543dcfba1 100644
--- a/store/plugins/store-tool-upload... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code added in validateParams around the properties check is not formatted (missing spaces inside the if, per project style).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ModelEngine-Group__app-platform__346 | ModelEngine-Group/app-platform | 346 | defect | 450cf64185b5831b5d056c531858eec7d1f729b6 | d784d0f49b6b7b171ea68424ffc72b9edcbbcb60 | [carver] provide mcp tools | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/domains/appversion/ToolSchemaBuilder.java b/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/domains/appversion/ToolSchemaBuilder.java
index 7f6708f1f6..2c9ce26444 100644
--- a/app-builder/jane/plugin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new @Mock ToolChangedObserver field in DefinitionIntegrationTest is declared with default (package) access, and since default access is meant for package access the test class should declare it `private`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "in... | null |
ModelEngine-Group__app-platform__348 | ModelEngine-Group/app-platform | 348 | defect | e5961de5ebddf46a6890d300899cf747547e0767 | 8157586372f689ce98a73f444586d9889b7bdfda | [app-builder] provide sync entry for store app | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/dto/AppIdentifier.java b/app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/dto/AppIdentifier.java
new file mode 100644
index 0000000000..bbdc16ba7e
--- /dev/null
+++ b/app-builder/jane/plugins/aipp-plu... | 2 | 2 | 0 | [{"id": "G0", "claim": "A blank line is needed between the aippRunTimeService field and its following Javadoc comment in AppSyncInvokerServiceImpl.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The @since date format in the Request inner-class ... | null |
ModelEngine-Group__app-platform__372 | ModelEngine-Group/app-platform | 372 | defect | 714eeef5cda62a61eda0760a247d654ce1c5c891 | 2474002bb1c1365dbf57b8d88e1448e7fe8f73f5 | [app-platform] Add black list endpoints config | ## 🔗 相关问题 / Related Issue
**Issue 链接 / Issue Link:** #370
- [x] 我已经创建了相关 Issue 并进行了讨论 / I have created and discussed the related issue
- [ ] 这是一个微小的修改(如错别字),不需要 Issue / This is a trivial change (like typo fix) that doesn't need an issue
## 📋 变更类型 / Type of Change
- [ ] 🐛 Bug 修复 / Bug fix (non-breaking ... | diff --git a/app-builder/plugins/aipp-http-call/src/main/java/modelengine/fit/jade/aipp/http/call/AippHttpCallService.java b/app-builder/plugins/aipp-http-call/src/main/java/modelengine/fit/jade/aipp/http/call/AippHttpCallService.java
index d6fcf9ac6a..bd939de078 100644
--- a/app-builder/plugins/aipp-http-call/src/main... | 4 | 4 | 2 | [{"id": "G0", "claim": "Member method calls should be qualified with `this.` (e.g. isInBlacklist).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The blocked-URL log line should include the current URL's parameters so the log identifies the requ... | null |
ModelEngine-Group__app-platform__41 | ModelEngine-Group/app-platform | 41 | defect | cb897c65c98a44eb10f340c765862823a8b3c3a1 | 9b51c56a8238cbd216b06a4f255926b89e259874 | [app-builder] 优化部分性能,添加流程数据定时清理机制 | 1、添加流程数据定期清理机制
2、更改waterflow中条件表达式执行时uuid生成规则,提升性能
3、添加缓存,提升对话性能 | diff --git a/app-builder/fel/java/pom.xml b/app-builder/fel/java/pom.xml
index b354708748..403135a264 100644
--- a/app-builder/fel/java/pom.xml
+++ b/app-builder/fel/java/pom.xml
@@ -24,7 +24,7 @@
<java.version>17</java.version>
<!-- Framework version -->
- <fit.version>3.5.0-SNAPSHOT</fit.ve... | 7 | 5 | 1 | [{"id": "G0", "claim": "Log statements in CacheUtils should use placeholders instead of manually concatenated strings.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "deleteByTraceIdList should use CollectionUtils.isEmpty() to test the traceIdLis... | null |
ModelEngine-Group__app-platform__425 | ModelEngine-Group/app-platform | 425 | defect | d0259a59ff6e8e2a40e83352d737d09ef3fd8435 | 12fc79444096dbdc55b49c06164a56f071b34c73 | 应用公共访问增加游客模式 | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/controller/AppBuilderAppController.java b/app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/controller/AppBuilderAppController.java
index fb11f09c95..b536f4c8cf 100644
--- a/app-builder/plugins/aipp-plugin/src/m... | 4 | 4 | 0 | [{"id": "G0", "claim": "Add the `this.` qualifier to attributes being accessed (全局刷新,添加属性的`this.`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "\"USR\" is not the abbreviation of \"user\", so the Usr feedback names should be changed to User."... | null |
ModelEngine-Group__app-platform__444 | ModelEngine-Group/app-platform | 444 | defect | cff2f97d4a55d6d3a79186f1f42f41ee4e3f63b4 | 016f11c4e5cebccc5e027223e1239a33bc3b8d7f | [app-platform] add text concatenate node | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/plugins/aipp-plugin/src/main/resources/application.yml b/app-builder/plugins/aipp-plugin/src/main/resources/application.yml
index 345ab5e995..6e5c4ff2b6 100644
--- a/app-builder/plugins/aipp-plugin/src/main/resources/application.yml
+++ b/app-builder/plugins/aipp-plugin/src/main/resources/appli... | 2 | 2 | 0 | [{"id": "G0", "claim": "The hand-written regex template rendering in TemplateServiceImpl duplicates existing framework string-templating functionality (StringUtils.format / fel's DefaultStringTemplate look basically equivalent), so the framework implementation should be reused instead.", "category": "design", "verdict"... | null |
ModelEngine-Group__app-platform__452 | ModelEngine-Group/app-platform | 452 | defect | 859a25399c6742143733678dec20b69fae8a57a7 | fdac98336390b9686d590ba6b54c7afe8c5c7ac7 | [app-builder] add new feature variable-updater-node | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/plugins/aipp-plugin/src/main/resources/component/basic_node_en.json b/app-builder/plugins/aipp-plugin/src/main/resources/component/basic_node_en.json
index c68d0119d3..864bab332f 100644
--- a/app-builder/plugins/aipp-plugin/src/main/resources/component/basic_node_en.json
+++ b/app-builder/plugi... | 5 | 5 | 1 | [{"id": "G0", "claim": "In basic_node_en.json the new node should be named \"Variable Updater\" (rather than \"Variable Update\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The updater's string constants should be private instead of public si... | null |
ModelEngine-Group__app-platform__471 | ModelEngine-Group/app-platform | 471 | defect | e0a1700d7b8a0a71ea5af747949ee071436f443f | 488a1368d95b0fa1ba46fd19b4b36881b690ceda | [app-builder] add reply node | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/plugins/aipp-plugin/pom.xml b/app-builder/plugins/aipp-plugin/pom.xml
index a18d30ddca..1eeafc765c 100644
--- a/app-builder/plugins/aipp-plugin/pom.xml
+++ b/app-builder/plugins/aipp-plugin/pom.xml
@@ -288,6 +288,10 @@
<groupId>modelengine.fit.jade.service</groupId>
<a... | 4 | 4 | 0 | [{"id": "G0", "claim": "Move the static fields to the top of the ReplyNode class, above the instance fields.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new ReplyNodeTest.java is missing the project's copyright header.", "category": "docu... | null |
ModelEngine-Group__app-platform__488 | ModelEngine-Group/app-platform | 488 | defect | 2dd802bb93a011ca417b8f5fc6557b797b1cb5ff | c61d829cb1cdd03043b176268f27da5b1e8bff01 | 处理创建智能体时,没有工具列表的问题 | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/service/impl/AgentInfoGenerateServiceImpl.java b/app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/service/impl/AgentInfoGenerateServiceImpl.java
index 445372e11e..1aae2c617c 100644
--- a/app-builder/plugins/aip... | 2 | 1 | 1 | [{"id": "G0", "claim": "The merge of creator and system tool lists should consider deduplicating tools, since the two queried lists may overlap.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test scenario exercising the use of system tools should b... | null |
ModelEngine-Group__app-platform__516 | ModelEngine-Group/app-platform | 516 | defect | f388e5dd3c5c5421923dec934353c40e7226f432 | 010c7b0bfbc8ecf9bead8e61a6d867b5b8b6551c | [app-builder] 增加节点配置项更新的功能 | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/controller/AppBuilderAppController.java b/app-builder/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/controller/AppBuilderAppController.java
index 3191333a07..2bfd7ebd9d 100644
--- a/app-builder/plugins/aipp-plugin/src/m... | 7 | 7 | 4 | [{"id": "G0", "claim": "The new Javadoc comments mix Chinese text with English (half-width) punctuation; the symbols in the comments should be kept consistent.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "updateNodeConfigs should not both update... | null |
ModelEngine-Group__app-platform__564 | ModelEngine-Group/app-platform | 564 | defect | 6b646837a1a6831308d867ebd85eb3a09769b57d | e4d4c640f4aba082ccf605b3ee15e6926d6c7bc5 | [app-platform] Add open source knowledge repo impl. |
## 🔗 相关问题 / Related Issue
<!-- 请先创建 Issue 讨论,然后在这里链接 -->
<!-- Please create an issue for discussion first, then link it here -->
**Issue 链接 / Issue Link:** #563
- [x] 我已经创建了相关 Issue 并进行了讨论 / I have created and discussed the related issue
- [ ] 这是一个微小的修改(如错别字),不需要 Issue / This is a trivial change (like ty... | diff --git a/app-builder/plugins/data-mate-knowledge/pom.xml b/app-builder/plugins/data-mate-knowledge/pom.xml
new file mode 100644
index 000000000..1a637780c
--- /dev/null
+++ b/app-builder/plugins/data-mate-knowledge/pom.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apach... | 12 | 8 | 2 | [{"id": "G0", "claim": "A blank line is needed between the fields of the new entity and DTO classes.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc of DataMateResponse.from needs a space after the comma in its inline type notation.", "category... | null |
ModelEngine-Group__app-platform__600 | ModelEngine-Group/app-platform | 600 | defect | bf026e5120a873596912f6eb8666c74cfb4f7ff8 | 851f4140d63efc725608cd73ef62ccb1e18bfab8 | ✨ 新功能 实现普通节点的一拖多/多对一的分支并行处理 | <!--
如果您正在寻求帮助,请先在我们的 QQ 群、微信公众号(群)中进行交流。
If you're looking for help, please check our QQ group, WeChat group.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
Please try to use English to describe your issue, or at least provide a snippet of English translation.
请不要在没有创建 Issue 的情况下创建 Pull Request。
Please do not crea... | diff --git a/agent-flow/src/components/base/jadeNode.jsx b/agent-flow/src/components/base/jadeNode.jsx
index 813fc0496e..567e8a6db1 100644
--- a/agent-flow/src/components/base/jadeNode.jsx
+++ b/agent-flow/src/components/base/jadeNode.jsx
@@ -469,7 +469,7 @@ export const jadeNode = (id, x, y, width, height, parent, dra... | 15 | 12 | 5 | [{"id": "G0", "claim": "The meaningless '//runContext请求操作' comment added in RunContext.from should be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stray blank line added after the class javadoc in FlowContext should not exist and ... | null |
ModernRelay__omnigraph__49 | ModernRelay/omnigraph | 49 | defect | 7ea868485ea1f7e61be7720468d773d9eb481fa7 | 284c9377c2904760ab5ba33561ef8d8c0c3f0bc4 | Add X-Request-Id middleware | ## Summary
Mints a per-request ULID at the edge, exposes it in request extensions for handlers, and surfaces it on the response header. Caller-supplied `X-Request-Id` is echoed when well-formed (1..=128 ASCII printable characters); otherwise rejected and replaced with a fresh ULID so the value is always safe to log.
... | diff --git a/Cargo.lock b/Cargo.lock
index 9eafcf9b4..0172c4995 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4700,6 +4700,7 @@ dependencies = [
"tower-http",
"tracing",
"tracing-subscriber",
+ "ulid",
"utoipa",
]
diff --git a/crates/omnigraph-server/Cargo.toml b/crates/omnigraph-server/Cargo.toml
index 0f938... | 1 | 1 | 0 | [{"id": "G0", "claim": "The inbound `x-request-id` header lookup at request_id.rs line 43 should reuse the already-defined `X_REQUEST_ID` constant instead of duplicating `HeaderName::from_static(\"x-request-id\")`, because the inline copy could be missed and go out of sync if the header name ever changes.", "category":... | null |
ModernRelay__omnigraph__78 | ModernRelay/omnigraph | 78 | defect | 92e3886cfaedb4577806b3d3ede8ed2a14137610 | 16ac1660599ee013853456ce4aa122c918424e12 | Fix branch merge with blob columns | ## Summary
- Materialize Lance Blob columns from merge cursors before staging merged rows, preserving blob payloads across branch merge.
- Use Lance-recommended Blob APIs for rewrite paths: scan blob descriptions with `_rowid`, resolve payloads with `Dataset::take_blobs`, and rebuild Blob v2 input arrays with `BlobArra... | diff --git a/crates/omnigraph/src/exec/merge.rs b/crates/omnigraph/src/exec/merge.rs
index b466663cf..cf83fccc6 100644
--- a/crates/omnigraph/src/exec/merge.rs
+++ b/crates/omnigraph/src/exec/merge.rs
@@ -26,12 +26,14 @@ struct StagedMergeResult {
struct CursorRow {
id: String,
signature: String,
+ datase... | 1 | 1 | 1 | [{"id": "G1", "claim": "Preserving blob.uri() in rewritten merge batches can cause branch merge failures for external blob URIs, because the downstream merge_insert path cannot enable allow_external_blob_outside_bases.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Modernizr__Modernizr__1132 | Modernizr/Modernizr | 1,132 | defect | d6e1d6f09e1f8250eca9116bcffe2f846616afa7 | c40296ade2b0ac6e130027f1f893c467da92f790 | Create atRule API to check for atRules (@keyframes, @import, etc.) | fixes #814
creates a new API to test if any kind of `@-`rule is supported.
eg
1. `Modernizr.atRule('charset', '"UTF-8"')`
2. `Modernizr.atRule('filter', 'foo {}')`
3. `Modernizr.atRule('font-face')`
4. `Modernizr.atRule('import', 'url()')`
5. `Modernizr.atRule('keyframes')`
6. `Modernizr.atRule('media')`
7. `Moderniz... | diff --git a/lib/config-all.json b/lib/config-all.json
index 4b581cf948..1d0f9be342 100644
--- a/lib/config-all.json
+++ b/lib/config-all.json
@@ -1,13 +1,14 @@
{
"classPrefix": "",
"options": [
- "setClasses",
"addTest",
+ "atRule",
+ "fnBind",
"html5printshiv",
"load",
- "testProp",
... | 6 | 1 | 0 | [{"id": "G0", "claim": "The API as implemented only returns a boolean saying whether some (possibly prefixed) form of an @-rule works, not the prefix — and so does not address what issue #814 asked for (finding out what the prefix of an @-rule such as @keyframes is).", "category": "design", "verdict": "uncertain", "pri... | null |
Modernizr__Modernizr__2582 | Modernizr/Modernizr | 2,582 | defect | 9b62ec82bf50926a2a47521e06ceada4847b8da8 | 12fe239aa8c0b3cbf61e373a8135e6354b3cc632 | Add support for ResizeObserver | Adds a simple test testing ResizeObserver existence on window.
Fixes #2581 | diff --git a/feature-detects/window/resizeobserver.js b/feature-detects/window/resizeobserver.js
new file mode 100644
index 0000000000..c88fba725b
--- /dev/null
+++ b/feature-detects/window/resizeobserver.js
@@ -0,0 +1,32 @@
+/*!
+{
+ "name": "ResizeObserver",
+ "property": "resizeobserver",
+ "caniuse": "resizeobse... | 1 | 1 | 0 | [{"id": "G0", "claim": "The caniuse link should not be added as a metadata note in feature-detects/window/resizeobserver.js, since the project tends not to add caniuse links as notes (the caniuse metadata field already carries the link).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ... | null |
Modernizr__Modernizr__2601 | Modernizr/Modernizr | 2,601 | defect | bd06d5a713f39e2af45d97df2ebfbb769be94ccd | 481569bca762cfb3203fa4aaf30f266131390b63 | Add valid chars test for the property of metadata | Refers to issue #2595
As per our discussion, `metadata.property` can contain only `lowercase alphanumeric characters and dashes`.
PR adds a test for the same, which raises an error if `metadata.property` values doesn't have valid characters.
Please have a look. Thanks! | diff --git a/lib/metadata.js b/lib/metadata.js
index 6ff5474b6e..343298cecc 100644
--- a/lib/metadata.js
+++ b/lib/metadata.js
@@ -83,6 +83,15 @@ function metadata(cb) {
}
});
}
+
+ //Raise error if metadata.property is NOT a lowercase string
+ const properties = Array.isArray(metad... | 3 | 2 | 1 | [{"id": "G0", "claim": "The forEach loop over the properties is unnecessary because each file is already checked separately, so lines 90-92 alone would do the task and give a much cleaner output error.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pro... | null |
Modernizr__Modernizr__2607 | Modernizr/Modernizr | 2,607 | defect | 2253e14955cf7255a5b1e584e668ee94c693607c | 2534f09c0cd7fe5e8923c0816fcc912c99a39ebc | Add feature detection for IndexedDB 2.0 | Closes #2571. | diff --git a/feature-detects/indexeddb2.js b/feature-detects/indexeddb2.js
new file mode 100644
index 0000000000..2d467255eb
--- /dev/null
+++ b/feature-detects/indexeddb2.js
@@ -0,0 +1,22 @@
+/*!
+{
+ "name": "IndexedDB 2.0",
+ "property": "indexeddb2",
+ "tags": ["storage"],
+ "caniuse": "indexeddb2",
+ "authors... | 3 | 1 | 0 | [{"id": "G0", "claim": "Asks whether the IndexedDBShim polyfill listed in the feature's metadata also works for IndexedDB 2.0.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Requests that the indexeddb2 detect also be added to the test/browser/integ... | null |
Modernizr__Modernizr__2610 | Modernizr/Modernizr | 2,610 | defect | 94592f279a410436530c7c06acc42a6e90c20150 | 5d41c8442022980be6b7ea23b1878a1795c1be49 | Add detect/tests for prefetch | Closes #2536
- Made a detect for prefetch based on https://github.com/w3c/preload/issues/7
- Added general test and caniuse test | diff --git a/feature-detects/rel/prefetch.js b/feature-detects/rel/prefetch.js
new file mode 100644
index 0000000000..e487c42b3a
--- /dev/null
+++ b/feature-detects/rel/prefetch.js
@@ -0,0 +1,27 @@
+/*!
+{
+ "name": "rel=prefetch",
+ "property": "prefetch",
+ "caniuse": "link-rel-prefetch",
+ "notes": [{
+ "name... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new relList-based check may wrongly exclude IE11, which appears to support link rel=prefetch but does not support relList.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A dedicated 'rel' directory for this single test se... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.