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
NLnetLabs__domain__336
NLnetLabs/domain
336
defect
a3ccb52b38677d9f2b7a605237dbd02306dc8591
46f7e1a6a37780eb7a52623761796ff89524edf9
Re-enable and fix the Stelline cookies test
PR #274 included a DNS cookies middleware processor and a corresponding Stelline `.rpl` test. However, due to the mechanism to mock server time (needed to by the cookies rpl test) not being ready at that point the necessary support for the test was lacking so the test was merged to main in a disabled state (by renam...
diff --git a/Cargo.toml b/Cargo.toml index 87a6f550b..5aaf5ae8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,9 +60,9 @@ validate = ["bytes", "std", "ring"] zonefile = ["bytes", "serde", "std"] # Unstable features -unstable-client-transport = [ "moka", "net", "tracing" ] -unstable-server-transport = ["arc-s...
1
1
1
[{"id": "G0", "claim": "The pull request adds `mock_instant` to the `unstable-stelline` feature even though `mock_instant` is only declared as a dev dependency, so the reviewer asks how this can work.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NLnetLabs__domain__369
NLnetLabs/domain
369
defect
14f857fbc018f29674a4d0cac09a37eda7ac6061
ef0bfd253886d844e36e7f760fec9969b7b0d715
Service enhancement prerequisites for XFR support
Taken from the `xfr` branch in order to split PR #335 into several smaller PRs. This PR makes changes, some of which are breaking (i.e. not backward compatible with earlier unstable server functionality without minor adjustments to existing consumer code, e.g. see the changes to `examples/serve-zone.rs`), including:...
diff --git a/Cargo.lock b/Cargo.lock index fcc1f145f..af9939129 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,6 +245,7 @@ dependencies = [ "time", "tokio", "tokio-rustls", + "tokio-stream", "tokio-test", "tokio-tfo", "tracing", diff --git a/Cargo.toml b/Cargo.toml index 995864729..554aae9ff 100644 --- a/...
1
1
1
[{"id": "G0", "claim": "On push() failure, instead of breaking out and leaving the caller's rcode, the code should reflect the failure in the rcode (SERVFAIL when the first question does not fit, FORMERR if a later question does not fit) rather than silently keeping questions that cannot all be pushed.", "category": "c...
null
NLnetLabs__domain__380
NLnetLabs/domain
380
defect
3356931057403bf7e0c02d1d79d821d28171f462
88665d9e84afab6aab125537dadc1f8a4f4d936c
Add TSIG middleware.
Taken from the `xfr` branch in order to split PR https://github.com/NLnetLabs/domain/pull/335 into several smaller PRs. Notable changes: - Add TSIG response signing middleware. - Add TSIG Stelline test recipe. - Update Stelline server integration tests to use the new TSIG middleware. - Remove unnecessary Unpin bounds ...
diff --git a/src/net/client/dgram.rs b/src/net/client/dgram.rs index 6695a5492..e771fc372 100644 --- a/src/net/client/dgram.rs +++ b/src/net/client/dgram.rs @@ -322,7 +322,7 @@ where S: AsyncConnect + Clone + Send + Sync + 'static, S::Connection: AsyncDgramRecv + AsyncDgramSend + Send + Sync + Unpin ...
5
5
2
[{"id": "G0", "claim": "The RFC 8945 status table in the middleware docs says 'TBD'; the placeholder should be resolved (state the compliance level or drop the table) before merging.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Restricting TSIG ...
null
NLnetLabs__unbound__1098
NLnetLabs/unbound
1,098
defect
7fbc061846ace7295fb8ab117411daf32aa282fc
65e7253d190ba182dacc2869641e86e94292deaf
Ipset pf support
This cleans up the code, after discussion with my colleague, we decided to rename the module calls differently. This makes that change. It also performs a merge with the recent code base. Fixes #144 .
diff --git a/cachedb/cachedb.c b/cachedb/cachedb.c index 0b355e0d3c..aca68d7ed7 100644 --- a/cachedb/cachedb.c +++ b/cachedb/cachedb.c @@ -983,7 +983,7 @@ cachedb_get_mem(struct module_env* env, int id) */ static struct module_func_block cachedb_block = { "cachedb", - &cachedb_init, &cachedb_deinit, &cachedb_opera...
3
3
0
[{"id": "G0", "claim": "In ipset_update's retry path the comment should use a C block comment (/* retry to create mnl socket */) instead of a // line comment.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The open_filter netlink branch should r...
null
NLnetLabs__unbound__1143
NLnetLabs/unbound
1,143
defect
6bf2b2ac568203e6119d1a64c2176e3fd03e7ffa
aaecdf39ec50e21db8322ace9a4802b18a942acd
Fix cache update when serve expired is used
By not replacing/evicting still usable expired records. Modules are forbidden to update the cache if their answer is DNSSEC unchecked or bogus and a valid (expired) entry already exists. Bogus replies from the validator are also discarded in favor of existing (expired) valid replies. Fixes #994.
diff --git a/cachedb/cachedb.c b/cachedb/cachedb.c index 7a07b99769..cf5143ee34 100644 --- a/cachedb/cachedb.c +++ b/cachedb/cachedb.c @@ -828,8 +828,6 @@ cachedb_handle_query(struct module_qstate* qstate, /* In case we have expired data but there is a client timer for expired * answers, pass execution to next m...
3
1
0
[{"id": "G0", "claim": "In validator.c processFinished the cached response's serve_expired_norec_ttl should perhaps be set to ve->bogus_ttl + now instead of NORR_TTL + now, since validation failed and it could wait for val-bogus-ttl before it retries validation.", "category": "design", "verdict": "opposed", "priority":...
null
NLnetLabs__unbound__1187
NLnetLabs/unbound
1,187
defect
e75da7d954b940c3f38ac21434247ee2d889feee
c5b998b410bdb70f78eac3807480d54c5b5e19a4
Create the SSL_CTX for QUIC before chroot and privilege drop
For behavioral consistency with the other SSL_CTX creations. Fixes #1185.
diff --git a/daemon/daemon.c b/daemon/daemon.c index 1c8272b14e..9e1d5d4f78 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -956,6 +956,9 @@ daemon_delete(struct daemon* daemon) listen_sslctx_delete_ticket_keys(); SSL_CTX_free((SSL_CTX*)daemon->listen_sslctx); SSL_CTX_free((SSL_CTX*)daemon->connect_sslctx);...
1
1
1
[{"id": "G0", "claim": "The conditional-compilation guard in quic_sslctx_create (and its #else/#endif comments) tests HAVE_NGHTTP2 instead of HAVE_NGTCP2, so the QUIC code path compiles under the wrong library condition.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NLnetLabs__unbound__1222
NLnetLabs/unbound
1,222
defect
394588818f271f89f4d9f36441916a8dcc849ebb
4d9e5641a0b4574dea8e19e17b5b5ff3c01f6312
Unique DoT and DoH SSL contexts to allow for different ALPN
To follow the recent interoperability TLS fixes from NSD. I would appreciate a second pair of eyes especially for the tls_session_ticket_keys.
diff --git a/daemon/daemon.c b/daemon/daemon.c index 9e1d5d4f78..76607fe52f 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -954,11 +954,12 @@ daemon_delete(struct daemon* daemon) free(daemon->env); #ifdef HAVE_SSL listen_sslctx_delete_ticket_keys(); - SSL_CTX_free((SSL_CTX*)daemon->listen_sslctx); - SSL_CTX...
1
1
1
[{"id": "G0", "claim": "The quic listening SSL context setup (quic_sslctx_create) used to sit inside the cfg->ssl_service_key guard and should be moved back inside that clause; as written it runs unguarded, which likely only matters when the configuration is wrong (the server certificate is missing).", "category": "cor...
null
NLnetLabs__unbound__1276
NLnetLabs/unbound
1,276
defect
a904a3a2c29a5440d1e1bb0802b064c40fd2626a
66943f1d2876665b50362282342d2b06b06d7b2d
Auto-configure '-slabs' values
Auto-configure '-slabs' values to a power of 2 value close to `num-threads` by default for multi-threaded environments.
diff --git a/doc/unbound.conf.5.in b/doc/unbound.conf.5.in index 4c7ea9f75d..e963a3e3a3 100644 --- a/doc/unbound.conf.5.in +++ b/doc/unbound.conf.5.in @@ -259,9 +259,12 @@ A plain number is in bytes, append 'k', 'm' or 'g' for kilobytes, megabytes or gigabytes (1024*1024 bytes in a megabyte). .TP .B msg\-cache\-slab...
1
1
1
[{"id": "G0", "claim": "The macro's verbose printout val argument should be cast to long (the suggestion applied the cast as (unsigned long)) so the %lu format matches its argument.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NLnetLabs__unbound__16
NLnetLabs/unbound
16
defect
2a78803049b022087cf0a4a88c5f8f04a985c30a
8d2c08befd03b508de473bdd22bc922e5606c212
AXFR over TLS
Enable by specifying an auth name, like this: ``` auth-zone: name: nlnetlabs.nl master: 185.49.140.60#ns.nlnetlabs.nl ```
diff --git a/doc/unbound.conf.5.in b/doc/unbound.conf.5.in index eff757e673..c14ee2785b 100644 --- a/doc/unbound.conf.5.in +++ b/doc/unbound.conf.5.in @@ -1675,6 +1675,7 @@ Name of the authority zone. .B master: \fI<IP address or host name> Where to download a copy of the zone from, with AXFR and IXFR. Multiple mas...
4
4
2
[{"id": "G0", "claim": "The XoT probe should detect the configured TLS port (env->cfg->ssl_port) instead of the hardcoded 853 in both the AF_INET and AF_INET6 comparisons in xfr_probe_send_probe.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
NLnetLabs__unbound__367
NLnetLabs/unbound
367
defect
3b82e690efc83a96c9e559750fc4576034ad2ea7
f5339ec7e5b4127bb616279771a9ba7103489509
DNSTAP log local address
This PR contains the code contributed in issue #365 that is imported and then gets modified for insertion in to the code repository. The code adds logging of the destination, or local, address to the dnstap logging.
diff --git a/daemon/worker.c b/daemon/worker.c index 37a8e1fe04..6481825d0c 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -1166,9 +1166,14 @@ worker_handle_request(struct comm_point* c, void* arg, int error, } #endif #ifdef USE_DNSTAP - if(worker->dtenv.log_client_query_messages) - dt_msg_send_client_query...
2
2
0
[{"id": "G0", "claim": "The TODO comment the PR added in randomize_and_send_udp is outdated: it should say the src (local service) addr is unavailable only when unbound is not configured with specific outgoing IP-addresses, and the \"For the both UDP and TCP.\" line should be removed since this site only does UDP.", "c...
null
NLnetLabs__unbound__514
NLnetLabs/unbound
514
defect
dd254137f1450976b43751248ee208008e65fd42
3e310a17becddf87483643ae21a8d66943ca53a6
Docker environment for run tests
I've prepared Dockerfile which enable to run tests in isolated environment with all needed tools. I hope it helps newbies like me to verify their PR. While i was running ``` make longtest ``` i noticed some undeterministic behaviour (some tests ie. auth_https.tdir sometimes failed due to connection timeout t...
diff --git a/.gitignore b/.gitignore index d0c69f81d2..ddd7349675 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ /testdata/.perfstats.txt /doc/html /doc/xml +.idea diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..417daccb21 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM ...
7
6
3
[{"id": "G0", "claim": "Remove the editor-specific `.idea` entry from .gitignore and keep such ignores in the reviewer's local git configuration, since the project populates .gitignore only with unbound-related files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
NLnetLabs__unbound__563
NLnetLabs/unbound
563
defect
ecb0b44ba82d71c818a6a8f9304373ee79e4b5c3
cb48d9e4a1a834419ce366a7b4ead167b8fb8724
Better positioning of general EDNS option handling: revisited V2
General EDNS options like PADDING and NSID were only returned with answers from cache or from authoritative zones. This commit repositions the handling of general EDNS options, so it is better cooperating with handling of EDNS options from modules and callbacks, and as a result the options are working now for synthesiz...
diff --git a/daemon/worker.c b/daemon/worker.c index b438700af1..6a13dbe290 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -449,7 +449,6 @@ answer_norec_from_cache(struct worker* worker, struct query_info* qinfo, * Then check if it needs validation, if so, this routine fails, * so that iterator can prime a...
9
7
3
[{"id": "G0", "claim": "answer_notify must not reset the EDNS option lists (opt_list_in/opt_list_out/opt_list_modules_out) to NULL, because EDNS options should not be reset there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new edns_data fiel...
null
NLnetLabs__unbound__944
NLnetLabs/unbound
944
defect
b865aca03a5c653356334c789b54e70c0bd0e08d
1e85749e6e7190ce1ba4aa279d55e2ba29577ada
Disable EDNS DO
Disable the EDNS DO flag in upstream requests. This can be helpful for devices that cannot handle DNSSEC information. But it should not be enabled otherwise, because that would stop DNSSEC validation. The DNSSEC validation would not work for Unbound itself, and also not for downstream users. Default is no. The optio...
diff --git a/daemon/worker.c b/daemon/worker.c index 2433f97dd0..8ae05eb67e 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -543,6 +543,8 @@ answer_norec_from_cache(struct worker* worker, struct query_info* qinfo, edns->udp_size = EDNS_ADVERTISED_SIZE; edns->ext_rcode = 0; edns->bits &= EDNS_DO; + if(worker...
2
2
0
[{"id": "G0", "claim": "The buffer in val_init should use the defined constant LDNS_MAX_DOMAINLEN+2 instead of the hardcoded size 257.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The man page paragraph documenting disable-edns-do should be re...
null
NOAA-OWP__ngen__208
NOAA-OWP/ngen
208
defect
bf6f2f1f10e6c22d6e904365fb5f215b62d6111d
7712f26c6368d4b9d559720f4f62eddabbd88239
Simple Lumped fixes
Working through a simple lumped calibration example, I identified several fixes and changes required for the realizaiton/formulation. ## Additions - `smax` parameter that is used in the storage distribution function - `gw_max_storage` parameter for building the groudwater/slow flow reservoir - `nash_cascade_max_s...
diff --git a/include/realizations/catchment/Simple_Lumped_Model_Realization.hpp b/include/realizations/catchment/Simple_Lumped_Model_Realization.hpp index 91d5a0ceac..5d2898bcb6 100644 --- a/include/realizations/catchment/Simple_Lumped_Model_Realization.hpp +++ b/include/realizations/catchment/Simple_Lumped_Model_Reali...
3
1
0
[{"id": "G0", "claim": "gw_storage may need to be added to the hymod_params struct as well, alongside the new max storage fields.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Commenting out the input-flux term in mass_check may be problematic and mi...
null
NOAA-OWP__ngen__217
NOAA-OWP/ngen
217
defect
81aa4e2e9336c03a7073debf794212565758a053
b22d21ef729f13a4b0b5de018f25e4ac12b1b88e
Initial support for BMI models in C libraries via dynamic loading
Initial version of dynamically loaded BMI C libraries to support multiple C BMI models without linker issues. ## Additions - The library file path is now part of the formulation config. - Because the library file is now in the formulation config, the single example file for BMI usage has now been replaced with...
diff --git a/.github/workflows/test_and_validate.yml b/.github/workflows/test_and_validate.yml index 1324603eff..e4b10d43e3 100644 --- a/.github/workflows/test_and_validate.yml +++ b/.github/workflows/test_and_validate.yml @@ -94,7 +94,7 @@ jobs: run: | export BOOST_ROOT="$(pwd)/boost_1_72_0" ...
3
2
0
[{"id": "G0", "claim": "Questions whether the adapter assumes BMI formulations will read forcings directly from disk, when the reviewer was under the impression NGEN would read a standard forcing and proxy the data to the formulations.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduc...
null
NOAA-OWP__ngen__220
NOAA-OWP/ngen
220
defect
81aa4e2e9336c03a7073debf794212565758a053
3979fd7246fae22e86069fc5485933793c4f34b6
Fix bugs in bmi-cfe and internal cfe codes
This PR replaces PR #216 It fixes bugs in bmi-cfe and internal cfe codes found during the bmi-cfe testing and validation processes. ## Additions - ## Removals - ## Changes extern/cfe/src/bmi_cfe.c extern/cfe/src/cfe.c ## Testing 1. Thorough validation test performed ## Screenshots ## ...
diff --git a/extern/cfe/src/bmi_cfe.c b/extern/cfe/src/bmi_cfe.c index db355219e3..8517d81a1b 100644 --- a/extern/cfe/src/bmi_cfe.c +++ b/extern/cfe/src/bmi_cfe.c @@ -1032,7 +1032,7 @@ static int Get_value_ptr (Bmi *self, const char *name, void **dest) if (strcmp (name, "RAIN_RATE") == 0) { cfe_model* m...
3
1
1
[{"id": "G0", "claim": "The new `- 1` offset used to expose RAIN_RATE in Get_value_ptr is unexplained and appears inconsistent with how rainfall input is indexed in the run function; the reviewer asks for clarification and asks whether the same time-step shift should also be applied to other forcing outputs such as SUR...
null
NOAA-OWP__ngen__223
NOAA-OWP/ngen
223
defect
93476cd5535090ea617e7749c83e183952fd742d
a173df10d933cb570fb7dacc67b5aedbd9eba2a0
Bmi dev
[Short description explaining the high-level reason for the pull request] - Complete variable (grid and location) & grid (type, rank, size, etc) BMI function definitions to CFE (Tshirt) model - Add these & other previously defined information based BMI functions to bmi-cfe unit tests ## Changes - extern/cfe/s...
diff --git a/extern/cfe/src/bmi_cfe.c b/extern/cfe/src/bmi_cfe.c old mode 100644 new mode 100755 index 1444b054d5..f5594837e0 --- a/extern/cfe/src/bmi_cfe.c +++ b/extern/cfe/src/bmi_cfe.c @@ -45,6 +45,23 @@ static const char *output_var_units[OUTPUT_VAR_NAME_COUNT] = { "m" }; +static const int output_var_gr...
6
5
1
[{"id": "G0", "claim": "Using BMI_MAX_UNITS_NAME as the buffer size for location strings may be problematic, so a dedicated BMI_MAX_LOCATION_NAME macro should be added and used for location buffers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
NOAA-OWP__ngen__235
NOAA-OWP/ngen
235
defect
5d7b96cac7c70aad1bc9db4f20913fc030b97c96
8c504c959f69236e3c5896defdc94a1c77b0670b
Async Communications in Point Nexus
This Pull request implements asynchronous I/O based on MPI_Isend and MPI_Irecv. This will allow processes controlling catchments to continue processing after sending results downstream. ## Additions HY_PointHydroNexusRemote.hpp HY_PointHydroNexusRemote.cpp - ## Removals HY_PointHydroNexusRemoteDownstream.h...
diff --git a/include/core/nexus/HY_PointHydroNexusRemote.hpp b/include/core/nexus/HY_PointHydroNexusRemote.hpp new file mode 100644 index 0000000000..4a449e707f --- /dev/null +++ b/include/core/nexus/HY_PointHydroNexusRemote.hpp @@ -0,0 +1,76 @@ +#ifndef HY_POINTHYDRONEXUSREMOTEDOWNSTREAM_H +#define HY_POINTHYDRONEXUSR...
10
8
1
[{"id": "G0", "claim": "The header guard should be renamed to reflect the object being defined (HY_POINTHDRONEXUSREMOTE_H) instead of the leftover DOWNSTREAM name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Verify whether get_world_rank() is...
null
NOAA-OWP__ngen__271
NOAA-OWP/ngen
271
defect
e41b57ea5a61892bf050343d51a9c47d38fa1374
e2a92368806a2f7fce4b438e00c37b53cb82704d
Network documentation
This PR adds inline documentation for the `Network` class which serves as the underlying graph index of features for `HY_Features` objects. While writing the documentation, a small flaw in the error handling of `get_id` was discovered, and a fix was added to this PR. Closes #268 ## Additions - Inline doxygen...
diff --git a/include/core/network.hpp b/include/core/network.hpp index 07cc7e00ef..8b7a212c6e 100644 --- a/include/core/network.hpp +++ b/include/core/network.hpp @@ -14,27 +14,106 @@ #include <FeatureBuilder.hpp> namespace network { + /** + * @brief The structure defining graph vertex properties. + * + * @...
4
3
1
[{"id": "G0", "claim": "The doc comment the pull request adds for the Network class has a blank @brief, and the reviewer asks whether that blank is intended (i.e. it should not be left empty).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The aut...
null
NOAA-OWP__ngen__279
NOAA-OWP/ngen
279
defect
1a292308f354790fffae13a5b6b04c0fa1417158
91350476c72118f5e40700eb5e48e48418146a09
Routing py adapter updates
Updates to call t-route from the routing py adpater. ## Additions - ## Removals - ## Changes - ## Testing 1. ## Screenshots ## Notes - ## Todos - ## Checklist - [ ] PR has an informative and human-readable title - [ ] Changes are limited to a single goal (no scope creep) ...
diff --git a/.gitmodules b/.gitmodules index a220737a68..833901a91b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,7 +8,7 @@ [submodule "extern/t-route"] path = extern/t-route url = https://github.com/jdmattern-noaa/t-route.git - branch = ngen-routing + branch = ngen-routing2 [submodule "extern/cfe/cfe"] ...
5
5
3
[{"id": "G0", "claim": "The parameterized Routing_Py_Adapter constructor should not exist in its current form (it takes a bunch of params, including input_path, but does nothing), and input_path in particular should probably be dropped.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
NOAA-OWP__ngen__28
NOAA-OWP/ngen
28
defect
b4c8c2d6c712cd3320dd7a6e4c8061ff1f1379ad
404740f5556e572c1ea78123c656a70696beca0e
Nonlinear Reservoir with Unit Tests
This is the Nonlinear Reservoir with its associated unit tests. ## Additions - ## Removals - ## Changes - ## Testing 1. ## Screenshots ## Notes - ## Todos - ## Checklist - [ ] PR has an informative and human-readable title - [ ] Changes are limited to a single goal (no sc...
diff --git a/models/hymod/include/Hymod.h b/models/hymod/include/Hymod.h index e15aa23ccb..0cdc212200 100644 --- a/models/hymod/include/Hymod.h +++ b/models/hymod/include/Hymod.h @@ -4,6 +4,7 @@ #include <cmath> #include <vector> #include "LinearReservoir.hpp" +#include "Nonlinear_Reservoir.hpp" //! Hymod paramat...
4
4
2
[{"id": "G0", "claim": "The Reservoir_Outlet activation_threshold_meters member should be private, since a caller has no need to directly modify this variable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the outlets are now sorted, the activatio...
null
NOAA-OWP__ngen__287
NOAA-OWP/ngen
287
defect
3f5b7b4e5d19a743f89975e1f9f8c85fa0d01d74
0dd81e87a1a643473ae02d21127caa7edbc96d5d
Update based on the new ngen master version
Updating a few codes based on the new master version. ## Additions - ## Removals - ## Changes include/core/Partition_Parser.hpp src/core/HY_Features_MPI.cpp src/partitionGenerator.cpp test/utils/Partition_Test.cpp ## Testing Unit test ## Screenshots ## Notes This PR may supersede P...
diff --git a/include/core/Partition_Parser.hpp b/include/core/Partition_Parser.hpp index 17b9f7d6c1..6ded2d7a25 100644 --- a/include/core/Partition_Parser.hpp +++ b/include/core/Partition_Parser.hpp @@ -12,6 +12,7 @@ #include <string> #include <unordered_map> #include <vector> +#include <unordered_set> #include <...
2
2
1
[{"id": "G0", "claim": "The locally scoped `remote_tuple` is indexed as if it were an array with `[i]` in its own declaration and in the three `std::get` calls, which should read `std::tuple<int, std::string, std::string> remote_tuple = (partition_data.remote_connections)[i];` (and the reviewer noted it may be the caus...
null
NOAA-OWP__ngen__303
NOAA-OWP/ngen
303
defect
1404cdfb89c967cf774858b16e08d93870c0b9c6
ec5174244b74de74b630fae80f8e09d9919d4154
Remote nexus partition connections fix
Need to ensure that remote and local contributions are accounted for appropriately in remote nexus implementations. Closes #301. ## Additions - Add constructor to HY_Nexus to provide the origin catchments which contribute to a nexus. - Add additional tracking attribute to the remote nexus subclass for different...
diff --git a/.gitmodules b/.gitmodules index 74d5255659..a220737a68 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,7 +8,7 @@ [submodule "extern/t-route"] path = extern/t-route url = https://github.com/jdmattern-noaa/t-route.git - branch = ngen-routing + branch = ngen-routing [submodule "extern/cfe/cfe...
2
2
0
[{"id": "G0", "claim": "Remove the hard-coded nex-22 debug output block from find_partition_connections before merging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debugging code that is still present in the section donaldwj commented on ...
null
NOAA-OWP__ngen__32
NOAA-OWP/ngen
32
defect
d11576c0aa4279d8978c5b48f83e08a20ffdb88b
add4b753ce7ca0837b8fd64bed74970b8413c3a3
Add Schaake NoahMP Land Surface Model infil function Code
Added Schaake NoahMP Land Surface Model Code: simple_v1.cpp ## Additions - ## Removals - ## Changes - ## Testing 1. ## Screenshots ## Notes Need to do unit test in the future. Wasn't able to build using cmake. Require cmake version 3. apd-dev1 has only cmake version 2. - ## Todos ...
diff --git a/models/kernels/simple_v1.cpp b/models/kernels/simple_v1.cpp new file mode 100644 index 0000000000..c1e1258c05 --- /dev/null +++ b/models/kernels/simple_v1.cpp @@ -0,0 +1,431 @@ +/* +#include <stdio.h> +#include <float.h> +#include <math.h> +#include <stdlib.h> +#include <string.h> +*/ +#include <iostream> ...
3
1
0
[{"id": "G0", "claim": "The units of the hardcoded NoahMP soil/vegetation parameters in simple_v1.cpp should be verified, since units are vague in the upstream code (e.g. dt1=dt/86400.0 implies dt is seconds and dt1 days).", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"...
null
NOAA-OWP__ngen__323
NOAA-OWP/ngen
323
defect
1a292308f354790fffae13a5b6b04c0fa1417158
b85b425d088872c42f7c0eadb4b809b7481fa32e
Basic automatic unit conversion
Basic unit conversion with UDUNITS2 ## Additions * UnitsHelper class * Automatic conversion in CsvPerFeatureForcingProvider and Bmi_Multi_Formulation (may be needed elsewhere) * UDUNITS-2 as a submodule and FindUDUNITS2.cmake to find installed packages ## Removals - ## Changes - ## Testing Un...
diff --git a/.github/workflows/test_and_validate.yml b/.github/workflows/test_and_validate.yml index 1026e23241..cbb7d4c79d 100644 --- a/.github/workflows/test_and_validate.yml +++ b/.github/workflows/test_and_validate.yml @@ -47,7 +47,7 @@ jobs: run: | export BOOST_ROOT="$(pwd)/boost_1_72_0" [...
7
5
2
[{"id": "G0", "claim": "The git_update_submodule FATAL_ERROR message should be generalized rather than specifically referencing Udunits.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instances should probably be configurable to either tolerate ...
null
NOAA-OWP__ngen__335
NOAA-OWP/ngen
335
defect
00d159d4ff710945a59ade6b79b1ffa5defa04a6
c020574adca7e4d19d57bd086e70001fe356c9f4
Fixes bug introduced in #311
[Short description explaining the high-level reason for the pull request] ## Additions - ## Removals - ## Changes - ## Testing 1. ## Screenshots ## Notes - ## Todos - ## Checklist - [ ] PR has an informative and human-readable title - [ ] Changes are limited to a single g...
diff --git a/include/forcing/CsvPerFeatureForcingProvider.hpp b/include/forcing/CsvPerFeatureForcingProvider.hpp index 7a597eb0a7..c151de4369 100644 --- a/include/forcing/CsvPerFeatureForcingProvider.hpp +++ b/include/forcing/CsvPerFeatureForcingProvider.hpp @@ -195,8 +195,8 @@ class CsvPerFeatureForcingProvider : publ...
4
3
2
[{"id": "G0", "claim": "The CSDMS_STD_NAME_RAIN_RATE macro in aorcforcing.hpp should be changed to be reflective of the variable it is mapped to, and the rate macro should not be associated with APCP_surface (whose kg m^-2 units are not a flux) as the pull request's swapped mappings do.", "category": "correctness", "ve...
null
NOAA-OWP__ngen__341
NOAA-OWP/ngen
341
defect
2eda3d3267767ba26aaad15a38022965bbe56359
fc2c3be474b65ab3a0481cfd02b610014246cd40
Unit tests for multi-module BMI formulation
Adding initial set of unit tests, under a separate `test_bmi_multi` target, and automated test workflows for testing the _Bmi_Multi_Formulation_ class.
diff --git a/.github/workflows/test_and_validate.yml b/.github/workflows/test_and_validate.yml index cbb7d4c79d..9628004e25 100644 --- a/.github/workflows/test_and_validate.yml +++ b/.github/workflows/test_and_validate.yml @@ -319,6 +319,94 @@ jobs: - name: cleanup run: rm -rf cmake_build + # As with...
1
1
1
[{"id": "G0", "claim": "The new `if (BMI_C_LIB_ACTIVE OR ${BMI_FORTRAN_ACTIVE} OR ${NGEN_ACTIVATE_PYTHON})` condition in test/CMakeLists.txt causes CMake configure errors on the CI runners, including the build_and_run_model job, and after 64b9a1f only fixed that job while the other test jobs still fail.", "category": "...
null
NOAA-OWP__ngen__346
NOAA-OWP/ngen
346
defect
74bd36d64f0bf4bbbc6b557234d00eba9b24543d
0fda6ff0b529b23e2aa585caf119260e31db452c
Support look-back for nest BMI module input values and bootstrapping of defaults.
Add support for allowing a nested formulation in a BMI multi formulation to use as a provider a later nested formulation. Previously, only earlier nested formulations could be used like this, where earlier/later is with respect to their listed order in the realization config. Since a later nested formulation's output...
diff --git a/doc/BMI_MODELS.md b/doc/BMI_MODELS.md index 39f6642c67..69662f564b 100644 --- a/doc/BMI_MODELS.md +++ b/doc/BMI_MODELS.md @@ -256,6 +256,29 @@ A few other items of note: * since modules get executed in order of configuration, "earlier" and "later" are with respect to the order they are defined in th...
8
5
2
[{"id": "G0", "claim": "The new DeferredWrappedProvider docstring says \"is not current known\" where it should say \"is not currently known\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring sentence \"This means the backing wrapped ...
null
NOAA-OWP__ngen__387
NOAA-OWP/ngen
387
defect
1b7988969a4a79ec9d205268191362a93995d35a
20eec1bcee12c6d7b05ecd9b62f7c07347330c8a
Fix 384, prioritize use of BMI potential evapotranspiration
The current implementation uses internal PET kernels to `calc_et()` in the framework when a module request an evapotranspiration variable as input. This is done regardless of whether or not that variable is available from another BMI module source. This PR is backwards compatible, and will still provide PET when no B...
diff --git a/include/realizations/catchment/Bmi_Module_Formulation.hpp b/include/realizations/catchment/Bmi_Module_Formulation.hpp index aee18f973a..ae417b3e1c 100644 --- a/include/realizations/catchment/Bmi_Module_Formulation.hpp +++ b/include/realizations/catchment/Bmi_Module_Formulation.hpp @@ -371,40 +371,27 @@ nam...
3
2
0
[{"id": "G0", "claim": "The GetOutputLineForTimestep tests fail on the CI runner, producing values like -0.000000 (with unit-conversion warnings), and more changes are needed to address the problem with the checks.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}, {"id": "...
null
NOAA-OWP__ngen__405
NOAA-OWP/ngen
405
defect
021d6ec338ba037b49493acc706efd0b393eed4c
d3221ec9d9578acbf6bb3ea45518116493c5a4d4
Bmi array support
This PR allows a BMI module to provide an array of values as a single 1D output which can then be passed/consumed by another BMI module in a Multi BMI configuration. ## Additions - `get_values` function added to ForcingProvider, with a default implementation - BMI Module Formulation custom override of `ForcingPr...
diff --git a/.github/workflows/test_and_validate.yml b/.github/workflows/test_and_validate.yml index 980b22b434..62826f6174 100644 --- a/.github/workflows/test_and_validate.yml +++ b/.github/workflows/test_and_validate.yml @@ -287,6 +287,18 @@ jobs: mod-dir: "extern/test_bmi_c/" targets: "testbmic...
3
2
2
[{"id": "G0", "claim": "The new UnitsHelper::get_converted_values works on a raw array whose size the caller must pass in count, and mutates the call argument while returning it, which is misleading (and could corrupt memory if used on e.g. a get_value_ptr result); the reviewer asks that it not mutate, or that a separa...
null
NOAA-OWP__ngen__429
NOAA-OWP/ngen
429
defect
f7b361f6bae54ff37a6e98a9ada4ca5c80a6ea78
7f3e05ef5313f0eefd226c3799dfccf4f8a7f370
Add tests for PET BMI module (replaces PR#401)
Add PET module and related .github test runners ## Additions data/example_bmi_multi_realization_config_w_noah_pet_cfe__linux.json data/example_bmi_multi_realization_config_w_noah_pet_cfe__macos.json ## Removals - ## Changes .github/workflows/module_integration.yml .github/workflows/test_and_validate...
diff --git a/.github/workflows/module_integration.yml b/.github/workflows/module_integration.yml index 93de12e437..c02c893faa 100644 --- a/.github/workflows/module_integration.yml +++ b/.github/workflows/module_integration.yml @@ -50,6 +50,13 @@ jobs: mod-dir: "extern/cfe/" targets: "cfebmi" + ...
2
2
1
[{"id": "G0", "claim": "After #417 the pull request's compare_pet test target must link {$NETCDF_LIBRARIES} (or the build action must set use_netcdf off), otherwise the Linux (and possibly macOS) CI build fails at link time.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, ...
null
NOAA-OWP__ngen__437
NOAA-OWP/ngen
437
defect
e310b577ebfc3fb52ca6f0375bd4fb81d3cbd681
5a41d793c4a19fb62b9540a2ec66a7d3e65559c9
Fix NetCDFPerFeatureDataProvider returning the same forcing for all catchments
The catchment ID was not being passed through to the selector. Rectified. ## Additions - Made the value of `Catchment_Formulation::get_catchment_id()` be passed to selector constructors in `Bmi_Module_Formulation` and `Bmi_Multi_Formulation` ## Removals - ## Changes - Made `get_catchment_id()` trim an...
diff --git a/include/realizations/catchment/Bmi_Module_Formulation.hpp b/include/realizations/catchment/Bmi_Module_Formulation.hpp index 694b7b4c73..fda91c0748 100644 --- a/include/realizations/catchment/Bmi_Module_Formulation.hpp +++ b/include/realizations/catchment/Bmi_Module_Formulation.hpp @@ -1118,7 +1118,7 @@ nam...
4
1
0
[{"id": "G0", "claim": "The changed selector constructor call should not keep the bad spacing between its first two arguments, which the reviewer also noticed in a few other places.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Using the std::string::fin...
null
NOAA-OWP__ngen__444
NOAA-OWP/ngen
444
defect
13dcd18331df778e5ae2b51f36ffe3075c2f9cd4
2a6f30c1a611ed10c369952c1fa0337c4961b338
Geojson optimization
After looking through #443, it became clear that a large part of the initialization overhead in `FeatureCollection` was due to an excessive amount of copies of strings (and some other data). This PR utilized `std::move` to reduce the amount of copies of data that go through the system. Also, I took the opportunity to...
diff --git a/include/geojson/FeatureBuilder.hpp b/include/geojson/FeatureBuilder.hpp index 999b3406fc..f2f93121c2 100644 --- a/include/geojson/FeatureBuilder.hpp +++ b/include/geojson/FeatureBuilder.hpp @@ -81,10 +81,9 @@ namespace geojson { for (auto &coordinate : group.second) { ...
3
1
1
[{"id": "G0", "claim": "The std::move operations may modify the source ptree and harm its reuse, and comments should be added to highlight this so it is easier to identify while skimming.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The boost::g...
null
NOAA-OWP__ngen__467
NOAA-OWP/ngen
467
defect
5e6521a3473b1875045d631eac52389c4cf5b295
6bd488e918863484546e6ed1b6a52976e14ee8cd
Refactor BMI model GetValue() function
Refactor bmi model to remove warning during building associated with deprecated functions ## Additions - ## Removals - ## Changes include/realizations/catchment/Bmi_C_Adapter.hpp include/realizations/catchment/Bmi_C_Formulation.hpp include/realizations/catchment/Bmi_Cpp_Adapter.hpp include/realizat...
diff --git a/include/realizations/catchment/Bmi_C_Adapter.hpp b/include/realizations/catchment/Bmi_C_Adapter.hpp index 941cf2483c..70d0bff30f 100755 --- a/include/realizations/catchment/Bmi_C_Adapter.hpp +++ b/include/realizations/catchment/Bmi_C_Adapter.hpp @@ -208,49 +208,6 @@ namespace models { get_...
2
2
0
[{"id": "G0", "claim": "The refactored `GetValue<long double>` return line should keep the extra wrapping parentheses to match the other refactored lines in the file (or the parens should be dropped on all of them).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c...
null
NOAA-OWP__ngen__489
NOAA-OWP/ngen
489
defect
46a865135a5d76baf6f68387dd835881f8fc7450
ec225d88caa0536f1c611545b32def928d50ad06
Modify Formulation_Manager.hpp to parse forcing "file_pattern"
This commit enable ngen to parse forcing "file_pattern" in explicit catchments formulation. ## Additions data/test_bmi_multi_realization_config.json data/test_bmi_multi_realization_config_w_netcdf.json data/test_bmi_multi_realization_config_w_noah_pet_cfe.json data/test_realization_config.json ## Removals ...
diff --git a/data/test_bmi_multi_realization_config.json b/data/test_bmi_multi_realization_config.json new file mode 100644 index 0000000000..5d052a6bdf --- /dev/null +++ b/data/test_bmi_multi_realization_config.json @@ -0,0 +1,120 @@ +{ + "global": { + "formulations": [ + { + "name"...
2
2
2
[{"id": "G0", "claim": "Add an automated test covering the new forcing \"file_pattern\" parsing, probably in Formulation_Manager_Test.cpp.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Leave one or two of the tests using only an explicit forcing \"path...
null
NOAA-OWP__ngen__493
NOAA-OWP/ngen
493
defect
c2d39c118b521465ab92861719434ebb5fb327d7
ec03210267ad2d3f95fa0695bd16b619e63aca4b
Python bmi grid
Add a gridded input and output variable to the python BMI unit test model. ## Additions - A bmi_grid.py helper module - Gridded input and output variable in the model ## Changes - Fixed some string formatting and import issues in the stand alone test runner. ## Testing 1. Ran the stand alone test run...
diff --git a/extern/test_bmi_py/__main__.py b/extern/test_bmi_py/__main__.py index c59be6c109..729246e248 100644 --- a/extern/test_bmi_py/__main__.py +++ b/extern/test_bmi_py/__main__.py @@ -1,4 +1,4 @@ -from .run_bmi_model import execute +from run_bmi_model import execute # TODO: maybe add something for running tes...
6
2
1
[{"id": "G0", "claim": "The redundant parentheses around the Grid class definition are unnecessary and should be removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The __init__ signature should have a space after rank's type hint, or the fi...
null
NOAA-OWP__ngen__508
NOAA-OWP/ngen
508
defect
7551590a415b89026559c1c570d4154e4746161b
00a738ee5afd79679d3bc15758a6c02a0558ea84
Fortran bmi grid
Add gridded input and output variables to the fortran BMI test model. Unit tests covering at least two different 3D indexing orderings are included, and the following helps illustrate how gridded data is flattened and reconstructed across the Fortran/C BMI interface. # Multi Dimension Data between Fortran and C/C++...
diff --git a/extern/iso_c_fortran_bmi/src/iso_c_bmi.f90 b/extern/iso_c_fortran_bmi/src/iso_c_bmi.f90 index 9937a51e21..bff7f28463 100644 --- a/extern/iso_c_fortran_bmi/src/iso_c_bmi.f90 +++ b/extern/iso_c_fortran_bmi/src/iso_c_bmi.f90 @@ -392,8 +392,19 @@ function get_value_int(this, name, dest) result(bmi_status) bind...
2
1
1
[{"id": "G0", "claim": "The commit should not allow a zero itemsize (including the related updates in the commit) and should instead fail when get_var_itemsize reports zero.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The itemsize cases must repo...
null
NOAA-OWP__ngen__511
NOAA-OWP/ngen
511
defect
7551590a415b89026559c1c570d4154e4746161b
33cd8fed404f21ba36f59ce57edd6a6f4169857e
Implement bracketed unit parsing in forcing CSV headers
Resolves #510 by implementing unit parsing within brackets or parentheses appended to column names in forcing CSV headers. ## Additions - Adds direct implementation in `CsvPerFeatureForcingProvider::read_csv`. - Adds unit tests to check for header name resolution (i.e. removing unit declaration and whitespace), ...
diff --git a/include/forcing/CsvPerFeatureForcingProvider.hpp b/include/forcing/CsvPerFeatureForcingProvider.hpp index b9fc1c2c27..cdb7b4761b 100644 --- a/include/forcing/CsvPerFeatureForcingProvider.hpp +++ b/include/forcing/CsvPerFeatureForcingProvider.hpp @@ -307,7 +307,23 @@ class CsvPerFeatureForcingProvider : pub...
3
3
3
[{"id": "G0", "claim": "A test should be added covering extra characters appearing after the unit brackets in a CSV header column, e.g. `var (unit) extra, ...`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When extra characters follow the closing brac...
null
NOAA-OWP__ngen__580
NOAA-OWP/ngen
580
defect
c4165cd8d7102a8cda6da75b6b868ad0868c5b78
e49130d2db6afdeda3947d10fec75f8882040ec0
#536: Add AddressSanitizer flags to CI tests
Additions and changes to the codebase should not be allowed to introduce new errors detected by runtime dynamic analysis by AddressSanitizer. ## Additions - Address Sanitizer is now activated on all tests run in CI - Geopackage units tests are run in CI (they were previously missing) ## Changes - Fixed sev...
diff --git a/.github/actions/ngen-build/action.yaml b/.github/actions/ngen-build/action.yaml index 577e7ae830..96a68e33c1 100644 --- a/.github/actions/ngen-build/action.yaml +++ b/.github/actions/ngen-build/action.yaml @@ -153,14 +153,26 @@ runs: id: cmake_init run: | export BOOST_ROO...
1
1
0
[{"id": "G0", "claim": "Even with the PR moving forward without excising the zombie GIUH code (suppressing it instead), the code still needs to get its disposition sorted out somehow.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
NOAA-OWP__ngen__61
NOAA-OWP/ngen
61
defect
aa73b77134ec311d07cb042c6d91b68fce8aa8c8
d632530269327379ecace5c95876f1e5e2a0d461
IN PROGRESS: Tshirt/create class
Current progress creating the class for the T-shirt model, as a PR for public accessibility/visibility. Work is very much incomplete and still in progress. This should almost certainly not be merged/approved as-is.
diff --git a/include/realizations/catchment/Simple_Lumped_Model_Realization.hpp b/include/realizations/catchment/Simple_Lumped_Model_Realization.hpp index c7f0dbb352..09b9b7d862 100644 --- a/include/realizations/catchment/Simple_Lumped_Model_Realization.hpp +++ b/include/realizations/catchment/Simple_Lumped_Model_Reali...
10
8
3
[{"id": "G0", "claim": "The groundwater reservoir Qgw is calculated raw from the equation in the T-shirt model document, and unlike the other flow equations of the form Q = C * (S - S_fc) / (S_max - S_fc) it is not apparent how to infer the constructor parameters for the reservoir and reservoir outlet classes from it, ...
null
NOAA-OWP__ngen__643
NOAA-OWP/ngen
643
defect
33b77ced75f995de63df4fc2951ef6ba05af6484
9b73fc4ddba66d73278d9311c5834e3969091673
Implement a logging function
This PR creates an initial logging solution that mimics Python's logging functionality. ## Additions include/utilities/logging_utils.h This header file contains the following logging functions as described in Issue#574: void debug(char *) void info(char *) void warning(char *) void error(char *) void critic...
diff --git a/include/realizations/catchment/Bmi_Module_Formulation.hpp b/include/realizations/catchment/Bmi_Module_Formulation.hpp index 4e4108bfa0..3a46d221a8 100644 --- a/include/realizations/catchment/Bmi_Module_Formulation.hpp +++ b/include/realizations/catchment/Bmi_Module_Formulation.hpp @@ -10,6 +10,7 @@ #inclu...
8
8
5
[{"id": "G0", "claim": "The logging implementation should be split into a separate .cpp file so only that file contains C++ code and C++ includes, with CMakeLists wiring so the library is compiled and linked project-wide following the mdframe pattern.", "category": "design", "verdict": "supported", "priority": "P1", "s...
null
NOAA-OWP__ngen__672
NOAA-OWP/ngen
672
defect
1af2edfaddbb434f37dc247d1c4d99a00a744818
c0fb8c0bfdc8dbbd98797cccbe393188f40a6204
refactor bmi adapters into their own library
[Short description explaining the high-level reason for the pull request] ## Changes - Refactor the bmi adapter code into its own `ngen_bmi` library - Refactor test code/organization for bmi adapters ## Testing 1. All tests refactored and running locally ## Checklist - [x] PR has an informative and...
diff --git a/CMakeLists.txt b/CMakeLists.txt index f6a0a1490f..a920b0b2eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,6 +193,7 @@ target_include_directories(ngen PUBLIC "${NGEN_INC_DIR}") add_subdirectory("src/core") add_subdirectory("src/geojson") +add_subdirectory("src/bmi") add_subdirectory("src/re...
1
1
0
[{"id": "G0", "claim": "Not all of the include directories added for ngen_bmi are necessary, and where headers are needed the build should link the corresponding targets instead of including their directories.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NOAA-OWP__ngen__721
NOAA-OWP/ngen
721
defect
52f43540239e202328c7c9350149f9f5b8f1f409
cd5a18760f142f299ba1ce2b32bddacaa899f51d
Parallel run with one proc w/o partition file
This PR address issue #703 in ngen framework, i.e., to run a MPI job using one processor without providing a partition file. For more than one processor, you must provide a partition file. If you insist on providing the partition file in the case of one processor, you are still ok. ## Additions - Define a dummy c...
diff --git a/include/core/Partition_Data.hpp b/include/core/Partition_Data.hpp new file mode 100644 index 0000000000..5fe1de14a1 --- /dev/null +++ b/include/core/Partition_Data.hpp @@ -0,0 +1,14 @@ +#ifndef PARTITION_DATA_H +#define PARTITION_DATA_H + +using Tuple = std::tuple<int, std::string, std::string, std::string...
8
8
2
[{"id": "G0", "claim": "Don't declare a global type alias named `Tuple` in Partition_Data.hpp; nest it inside the PartitionData struct so it is used as PartitionData::Tuple.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Partition_One's own catchment_ids...
null
NOAA-OWP__ngen__745
NOAA-OWP/ngen
745
defect
07ac93e104f1cb8d2d6eba8fe589ceadb7b3563a
6e872f6845f418155ef887ffb1f78cae660286d9
Formulation configuration refactoring
Builds on #743. This will nearly decouple Formulation_Manager from boost ptrees. There are still a couple places which are dependent on the ptree, but it is now only the highest level of extracting the main components and building configuration strcutures which are used throughout the rest of the formulation manager ...
diff --git a/include/realizations/catchment/Formulation_Constructors.hpp b/include/realizations/catchment/Formulation_Constructors.hpp index a5cf348f04..640c3abbbb 100644 --- a/include/realizations/catchment/Formulation_Constructors.hpp +++ b/include/realizations/catchment/Formulation_Constructors.hpp @@ -45,6 +45,14 @...
4
4
1
[{"id": "G0", "claim": "Remove the unused `#include<iostream>` from config.hpp (empty suggestion block deleting the line).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `formulation_tree` ptree member is not needed once it is consumed in th...
null
NOAA-OWP__ngen__750
NOAA-OWP/ngen
750
defect
6d0b7d668204c2a80054356bb1509c70062eeecc
60665cc979ec9294632e9afb817c1d5d2d1f39bb
Refactor: BMI adapters' virtual destructor hierarchy and general cleanup
This PR resolves #747 by pulling the virtual destructor hierarchy one level above `AbstractCLibBmiAdapter`, so that `Bmi_Adapter` defines a virtual destructor. Moreover, this PR includes some additional cleanup of the BMI adapter classes and supporting files. ## Additions - Adds a default virtual destructor to...
diff --git a/include/bmi/AbstractCLibBmiAdapter.hpp b/include/bmi/AbstractCLibBmiAdapter.hpp index 773419879d..e214df7e02 100644 --- a/include/bmi/AbstractCLibBmiAdapter.hpp +++ b/include/bmi/AbstractCLibBmiAdapter.hpp @@ -2,9 +2,8 @@ #define NGEN_ABSTRACTCLIBBMIADAPTER_HPP #include <dlfcn.h> + #include "Bmi_Adapt...
6
5
1
[{"id": "G0", "claim": "The const specifier on the bmi_registration_function member is unnecessary and should be removed, with the getter marked const instead.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Bmi_Adapter's destructor should be declared pure ...
null
NOAA-OWP__ngen__803
NOAA-OWP/ngen
803
defect
f778a185e2fad373b6f2307ec75791120bdee461
e3a0158ae04997de0d8a1bed692ae2761964b43e
Grid Data Selector for Uniform Structured Grids
This PR implements Cell, Point, Boundary, and Bounding Box based constructors for a `GridDataSelector`. ## Additions - GridDataSelector class - Cell-based constructor for GridDataSelector - Extent-based constructor for GridDataSelector - Point-based constructor for GridDataSelector - GridDataSelector tests wi...
diff --git a/include/forcing/GridDataSelector.hpp b/include/forcing/GridDataSelector.hpp new file mode 100644 index 0000000000..5684f16303 --- /dev/null +++ b/include/forcing/GridDataSelector.hpp @@ -0,0 +1,300 @@ +#pragma once + +#include <cstdint> +#include <string> +#include <vector> + +#include <boost/core/span.hpp...
6
5
1
[{"id": "G0", "claim": "The ASSERT_GT(cells.size(), 0) assertion is redundant alongside the exact expected value and should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The GridDataSelector constructors should not be noexcept because they ...
null
NOAA-OWP__ngen__815
NOAA-OWP/ngen
815
defect
dd664668975e84a21d58c79300248210a0a256bf
ced72e92e8cf7e309b5e88f2cca56424b705ce78
Clean up code for Formulation in advance of Coastal introduction
I want to slot in new code for Coastal total water level (TWL) functionality as cleanly as possible with the existing code base. In particular, it seems like `CoastalFormulation` should be a natural analog to the existing `CatchmentFormulation`. A lot of stuff there in the base`Formulation` interface right now is speci...
diff --git a/include/realizations/catchment/Bmi_C_Formulation.hpp b/include/realizations/catchment/Bmi_C_Formulation.hpp index 31a1311e14..64823cff19 100644 --- a/include/realizations/catchment/Bmi_C_Formulation.hpp +++ b/include/realizations/catchment/Bmi_C_Formulation.hpp @@ -18,42 +18,6 @@ namespace realization { ...
5
1
0
[{"id": "G0", "claim": "While moving get_var_value_as_double(), it would be a good time to replace it with a more correct set of functions or possibly a templated function, since not all values are double or can be stored in one.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}...
null
NOAA-OWP__ngen__839
NOAA-OWP/ngen
839
defect
d5a01713f8590381ee3342c58e691925bdd09c29
5cffa7347c7424386a47e0a41a95190b64b5cabc
Forcings Engine Data Provider Base Interface
> [!IMPORTANT] > **This PR replaces #720.** This PR adds the **`ForcingsEngineDataProvider<DataType, SelectionType>`** class. This class is intended to serve as the base class for Lumped, Gridded, and Unstructured forcings engine data providers. The base class handles timing and updating the underlying BMI instance...
diff --git a/include/forcing/ForcingsEngineDataProvider.hpp b/include/forcing/ForcingsEngineDataProvider.hpp new file mode 100644 index 0000000000..f10bbebe4d --- /dev/null +++ b/include/forcing/ForcingsEngineDataProvider.hpp @@ -0,0 +1,258 @@ +#pragma once + +#include <memory> +#include <unordered_map> +#include <chro...
9
7
5
[{"id": "G0", "claim": "The make_forcings_engine factory should return std::unique_ptr<Tp> rather than a base-class pointer -- or, as its author concluded, the convenience function is not needed at all since instance construction can live in the protected base constructor.", "category": "design", "verdict": "supported"...
null
NOAA-OWP__ngen__840
NOAA-OWP/ngen
840
defect
d5a01713f8590381ee3342c58e691925bdd09c29
e1e199517c2587824f09097cfa620b83d7ee6b01
Bmi_Adapter: drop 'StreamHandler output'
The entire hierarchy of classes below `Bmi_Adapter` takes `StreamHandler output` as a constructor argument, and just passes it up the chain. The only places it was actually used was in a pair of re-initialization warnings. ## Changes - Change the warnings to use `logging::warning` instead - Drop the `Bmi_Adapter...
diff --git a/include/bmi/AbstractCLibBmiAdapter.hpp b/include/bmi/AbstractCLibBmiAdapter.hpp index 9d583d62d2..f82467cb08 100644 --- a/include/bmi/AbstractCLibBmiAdapter.hpp +++ b/include/bmi/AbstractCLibBmiAdapter.hpp @@ -21,8 +21,7 @@ namespace models { * @param output The output stream handler. ...
2
1
0
[{"id": "G0", "claim": "The stale doxygen line \"* @param output The output stream handler.\" should be deleted from the AbstractCLibBmiAdapter constructor comment, since the pull request removed that parameter.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
NOAA-OWP__ngen__97
NOAA-OWP/ngen
97
defect
900ff082ef17464f0bfa3d9933fda73397686409
b81f988a58c410f00444866f1eb777c813cd8c27
Bug Fixes and Model Tweaks from Demo
In preparing the Demo last week, there were a few bugs and model tweaks discovered. ## Changes - See commit messages - [x] PR has an informative and human-readable title - [x] Changes are limited to a single goal (no scope creep) - [x] Code can be automatically merged (no conflicts) - [ ] Code follows proj...
diff --git a/include/forcing/Forcing.h b/include/forcing/Forcing.h index e4b0a97296..0c57de3a84 100644 --- a/include/forcing/Forcing.h +++ b/include/forcing/Forcing.h @@ -111,7 +111,7 @@ class Forcing * @brief Checks forcing vector index bounds and adjusts index if out of vector bounds * /// \todo: Bounds c...
2
2
1
[{"id": "G0", "claim": "Add a space after the '/' in the division expression that drains the reservoir to minimum storage.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test ForcingTest.TestForcingDataRead is failing in a way related to get...
null
NTMC-Community__MatchZoo__179
NTMC-Community/MatchZoo
179
defect
99e0cf471164ab4c553e915f47b29337e3b5a0c3
10d257d82c19e0a06968f9f0297090c2715acc77
add unit-processors
For issue #175 . Remove previous function-based pre-processors, add class-based pre-processors.
diff --git a/matchzoo/preprocessors.py b/matchzoo/preprocessors.py index 523652c7..28d1f1a3 100644 --- a/matchzoo/preprocessors.py +++ b/matchzoo/preprocessors.py @@ -1,146 +1,165 @@ """Matchzoo toolkit for text pre-processing.""" import re +import abc import nltk -import jieba import typing import many_stop_wor...
6
5
2
[{"id": "G0", "claim": "The ProcessUnit naming is awkward and the class hierarchy is graceless; the name should be improved (ProcessingUnit or Processor would be better), even if the hierarchy itself can stay as is for now.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
NTMC-Community__MatchZoo__186
NTMC-Community/MatchZoo
186
defect
22601afc59210f0337e8ea63f05c7582f6b2d563
16c38461ffbb4af2f272be7e07f5e715ac36cdcc
add dssm model
for issue #138 Adapt dssm to new `base_model`.
diff --git a/matchzoo/models/__init__.py b/matchzoo/models/__init__.py index 527d6629..add90b69 100644 --- a/matchzoo/models/__init__.py +++ b/matchzoo/models/__init__.py @@ -1,2 +1,3 @@ from .naive_model import NaiveModel +from .dssm_model import DssmModel from .dense_baseline_model import DenseBaselineModel diff --...
9
8
6
[{"id": "G0", "claim": "The output layer should be determined by the task rather than hardcoded to a 2-dimension Dense with softmax: k-dimension vector for k-class classification and a scalar/probability for ranking.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
NTMC-Community__MatchZoo__191
NTMC-Community/MatchZoo
191
defect
22601afc59210f0337e8ea63f05c7582f6b2d563
e5a5ecc1ba8dc2e5ce4418f342a8eea0b800425c
Feature/misc updates
feature: set evaluation verbosity feature: set task output shape feature: repetitive parameter name checking feature: standardize model testing refactor: remove outdated test refactor: move `all_params_filled` to `ParamTable` as a method
diff --git a/matchzoo/engine/base_model.py b/matchzoo/engine/base_model.py index 2da3299f..42bbbf88 100644 --- a/matchzoo/engine/base_model.py +++ b/matchzoo/engine/base_model.py @@ -140,6 +140,7 @@ def evaluate( x: typing.Union[np.ndarray, typing.List[np.ndarray]], y: np.ndarray, ...
2
1
0
[{"id": "G0", "claim": "The new `ParamTable.completed` method name is a little strange; `filled` would maybe be a better name.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The task-driven output-layer design needs to consider that some algorithm...
null
NTMC-Community__MatchZoo__192
NTMC-Community/MatchZoo
192
defect
bf5674836f5036a6a589fc9605f816ebfcc16b73
8930d897758d5674f559217383326707d7141bee
First design of datapack
for #175 First design of DataPack, allow list of pairwise-input and context as parameters, inherit from pandas.DataFrame.
diff --git a/matchzoo/datapack.py b/matchzoo/datapack.py new file mode 100644 index 00000000..c38962d1 --- /dev/null +++ b/matchzoo/datapack.py @@ -0,0 +1,114 @@ +"""Matchzoo DataPack, pair-wise tuple (feature) and context as input.""" + +import typing +from pathlib import Path + +import dill +import pandas as pd + + +...
10
7
3
[{"id": "G0", "claim": "The restriction that DataPack can only process two-text (pair-wise) data should be removed so that additional features such as TF-IDF or BM25 can be handled.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Files serialized with dil...
null
NTMC-Community__MatchZoo__241
NTMC-Community/MatchZoo
241
defect
cd5c96823b1115b618a43bd0b32d3dbefb42abb8
dae669067dca0be57207860e2e7cdf6febcd789e
Feature/add a pipeline base class.
For issue #218 #245 Add a pipeline class, accept an arbitrary type of input, expect to be transformed to `DataPack` object.
diff --git a/matchzoo/engine/__init__.py b/matchzoo/engine/__init__.py index 3abea0d0..ebe6d478 100644 --- a/matchzoo/engine/__init__.py +++ b/matchzoo/engine/__init__.py @@ -4,4 +4,4 @@ from .base_task import BaseTask, list_available_tasks from .base_model import BaseModel, load_model from .tune import tune -from ....
2
2
2
[{"id": "G0", "claim": "transform should not always bundle the fitted `context` into the returned DataPack; context is the parameters fitted on the training corpus and only used for transform, and any statistics that need to be passed to the datapack should be calculated from the beginning.", "category": "design", "ver...
null
NTMC-Community__MatchZoo__248
NTMC-Community/MatchZoo
248
defect
bba9cd21946e2d1fd4242d79693157af79ce12eb
1e5ed4e52700baa84a144d193c090d5b86055018
refactor ngram letter unit, resolve index bug in word hashing unit
1. Change `NgramletterUnit` to `Stateless`. 2. Resolve index error in `WordHashingUnit`. 3. Adjust unit tests.
diff --git a/matchzoo/preprocessor/process_units.py b/matchzoo/preprocessor/process_units.py index d71158e1..895d84bf 100644 --- a/matchzoo/preprocessor/process_units.py +++ b/matchzoo/preprocessor/process_units.py @@ -170,24 +170,31 @@ def transform(self, tokens: list) -> list: return [lemmatizer.lemmatize(to...
5
3
0
[{"id": "G0", "claim": "The redundant `__init__` of NgramLetterUnit, which only calls `super().__init__()`, should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Removing `fit` leaves no way to fit tri-letters on training data and ...
null
NTMC-Community__MatchZoo__249
NTMC-Community/MatchZoo
249
defect
57edb95efbb65e88576e1acd5fa6201036e4b797
1829649a0c897cd24c4331144e9d0042ac4816fa
Feature/base generator
#217 An initial version of base generator. It need more discussion. reference to #245 .
diff --git a/matchzoo/engine/__init__.py b/matchzoo/engine/__init__.py index 3abea0d0..1aa57925 100644 --- a/matchzoo/engine/__init__.py +++ b/matchzoo/engine/__init__.py @@ -5,3 +5,4 @@ from .base_model import BaseModel, load_model from .tune import tune from .base_preprocessor import BasePreprocessor +from .base_g...
14
12
1
[{"id": "G0", "claim": "Remove the `raise NotImplementedError` from the abstract `_get_batches_of_transformed_sample` method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variable names in transform_data (e.g. `ctl`, `ctr`, `xx0`, `xx1`, `...
null
NTMC-Community__MatchZoo__257
NTMC-Community/MatchZoo
257
defect
44295ca7d7c87e45bf215e87256890866befb227
0611e0431fb7f2d8f413d5494c472e3e4bd315f7
Feature/dssm preprocessor
1. add inputs argument in `base_processor`. 2. Add `DSSMPreprocessor` class as a helper function. For issue #245 `DSSMPreprocessor` severe as facade class of varies `ProceesorUnits` to pre-process inputs for DSSM model.
diff --git a/matchzoo/engine/base_preprocessor.py b/matchzoo/engine/base_preprocessor.py index 5c81e4cb..2809459d 100644 --- a/matchzoo/engine/base_preprocessor.py +++ b/matchzoo/engine/base_preprocessor.py @@ -1,7 +1,7 @@ """:class:`BasePreprocessor` define input and ouutput for processors.""" import abc - +from t...
2
2
1
[{"id": "G0", "claim": "The misspelled variable names in the new transform code should use 'right' instead of 'righ' (e.g. 'for left, righ in inputs:', 'output_righ').", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The preprocessor's input forma...
null
NTMC-Community__MatchZoo__268
NTMC-Community/MatchZoo
268
defect
7643728c649e1c2bcff57059487390a64981142f
cfad2844990825e2174bbf3d1b7af62ee3f7ddab
Feature/dssm inte test
For issue #245 1. add integration test for dssm. 2. Resolve bug in dssm_preprocessor 3. Add utility. 4. minor changes.
diff --git a/matchzoo/generators/point_generator.py b/matchzoo/generators/point_generator.py index 069c42b8..f9fea486 100644 --- a/matchzoo/generators/point_generator.py +++ b/matchzoo/generators/point_generator.py @@ -32,7 +32,7 @@ class PointGenerator(engine.BaseGenerator): def __init__( self, ...
3
1
0
[{"id": "G0", "claim": "The integration test should also save the fitted dssm_preprocessor during the training phase, so that it can be loaded again for the testing/prediction phase.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The testing phase shoul...
null
NTMC-Community__MatchZoo__304
NTMC-Community/MatchZoo
304
defect
334854460653eccc94ce235ec56fbebc20d70f71
2fffaa683883f112af0c61d05f57c74b7c0a4e60
Feature/datapack
For #299 , #300 1. Update datapack to 2 tables. 2. Adjust unit tests. 3. Add markdown to 2.0 pypi. 4. Add a method called `segmentation` in `base_preprocessor` to split user input into 2 dataframes. 5. Used a `cache` variable to speed up preprocessor. The codecov is failing because the generator is not working...
diff --git a/matchzoo/datapack.py b/matchzoo/datapack.py index 8d143c0d..975217e4 100644 --- a/matchzoo/datapack.py +++ b/matchzoo/datapack.py @@ -13,14 +13,17 @@ class DataPack(object): Matchzoo :class:`DataPack` data structure, store dataframe and context. Example: - >>> features = [([1,3], [2,3]),...
4
3
1
[{"id": "G0", "claim": "The DataPack docstring is missing an explanation of the `columns` parameter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DataPack should pass a mapping/index of text ids so the data table is built with id column names, a...
null
NTMC-Community__MatchZoo__693
NTMC-Community/MatchZoo
693
defect
00c54f16a3d14e58eb8059a6d2cda1c53eee8a90
aaa173b83b59421ae3dab7b2b12bf634cde865f9
seperate OOV with PAD in the vocabulary
It is important to separate OOV with PAD by different indices. For keras, the PAD is assumed at the index `0`. That's the basic to support the `mask_zero` in `Embedding` layer. Thus, I have placed the `PAD` at the index `0` and `OOV` at the index `1` in the `Vocabulary`. By updating this, I have witnessed the improvem...
diff --git a/matchzoo/embedding/embedding.py b/matchzoo/embedding/embedding.py index 3787f8bc..fb21af36 100644 --- a/matchzoo/embedding/embedding.py +++ b/matchzoo/embedding/embedding.py @@ -25,13 +25,13 @@ class Embedding(object): To load from a file: >>> embedding = mz.embedding.load_from_file(embed_pat...
4
2
0
[{"id": "G0", "claim": "The special-token names should be similar, e.g. '<OOV>' and '<PAD>'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "PAD and OOV should be handled similarly except during a lookup, i.e. neither one should be fed manually into embed...
null
NULLx76__ringbuffer__78
NULLx76/ringbuffer
78
defect
2afc6c231a574987339b5ed8efec5d9eec869c6e
3be97fa6ff9e1e3008e42e7ea7d4303d47195756
remove power of two check
Replaces #76 (for at least the power of two check), addressing the last commments on #61 by @Sjord. They are completely right that the power of two requirements is actually not really necessary for the const generic ringbuffer as its compiled to the same bitshift anyway Closes #61
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index be36f98..7caffbd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,8 +10,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v3 ...
8
8
2
[{"id": "G0", "claim": "MIRI is not able to run the compile-fail tests, so an exclusion (ignoring the compile test under miri) should be added.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tarpaulin coverage pipeline stage seems broken (it crashes...
null
NVIDIA-AI-IOT__torch2trt__418
NVIDIA-AI-IOT/torch2trt
418
defect
ea835dc368903837a72e8393947e82c52a64488a
a21b5cef44627e66c9f28e64dd8aba8ca3b0953f
Assert that inputs are contiguous
@jaybdub, I've spent last 24 hours figuring out why PyTorch and TensorRT predictions differed, and it ended up being caused by strided tensor that was not accounted for. With this change I'd like to ensure this doesn't happen again. Can you suggest where should I add tests for it?
diff --git a/torch2trt/torch2trt.py b/torch2trt/torch2trt.py index 3ade89ad..ede7013b 100644 --- a/torch2trt/torch2trt.py +++ b/torch2trt/torch2trt.py @@ -426,6 +426,8 @@ def forward(self, *inputs): bindings[idx] = output.data_ptr() for i, input_name in enumerate(self.input_names): + ...
2
2
1
[{"id": "G0", "claim": "Since the change does not fit the module test format, it should be covered by a pytest test case placed in torch2trt/tests/test_contiguous.py.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of raising ValueError for non-c...
null
NVIDIA-NeMo__Automodel__1809
NVIDIA-NeMo/Automodel
1,809
defect
6d0c37bc45cce074b4e50184b9a5d04028ddcb19
79eaf1c86890885c6a587aff267313a046cf9aea
feat: Add Ministral3-3B bidirectional encoder training scripts
# What does this PR do ? Add a one line overview of what this PR aims to accomplish. # Changelog - Add specific line by line info of high level changes in this PR. # Before your PR is "Ready for review" **Pre checks**: - [ ] Make sure you read and followed [Contributor guidelines](https://github.com/N...
diff --git a/nemo_automodel/_transformers/auto_model.py b/nemo_automodel/_transformers/auto_model.py index 2ec164474a..152bf6ba98 100644 --- a/nemo_automodel/_transformers/auto_model.py +++ b/nemo_automodel/_transformers/auto_model.py @@ -949,6 +949,7 @@ def _retry(**override): model = encoder_cls.build( ...
1
1
1
[{"id": "G0", "claim": "The `create_bidirectional_mask` call in ministral_bidirectional/model.py passes the kwarg `input_embeds` while the equivalent llama_bidirectional call passes `inputs_embeds`, so one of the two names is wrong and, if the ministral one is wrong, the call could silently produce an incorrect attenti...
null
NVIDIA-NeMo__Automodel__1916
NVIDIA-NeMo/Automodel
1,916
defect
c9d1aa0367c16fb77afac884ea1993f3571d3165
2d72807ced439e690e69e7cffc8f26114409151f
fix: Step-3.5-Flash layer_types mismatch and related recipe fixes
## Summary - Add `tiktoken` to base deps so Moonlight's TikToken-based remote tokenizer can load. - Work around upstream configs whose `layer_types` is longer than `num_hidden_layers` (e.g. `stepfun-ai/Step-3.5-Flash` ships 48 vs 45). `get_hf_config` now catches the validation error, truncates `layer_types` in the raw ...
diff --git a/docker/common/uv-pytorch.lock b/docker/common/uv-pytorch.lock index baa5f8df2d..388197c937 100644 --- a/docker/common/uv-pytorch.lock +++ b/docker/common/uv-pytorch.lock @@ -3302,6 +3302,7 @@ dependencies = [ { name = "opencv-python-headless" }, { name = "pybind11" }, { name = "pyyaml" }, + ...
1
1
1
[{"id": "G0", "claim": "The condition `len(lt) != n` in `_load_config_with_layer_types_fix` also catches layer_types lists shorter than num_hidden_layers, but `lt[:n]` only fixes the too-long case, so a shorter list would log a misleading \"Truncating\" warning and pass the unchanged list through; since the workaround ...
null
NVIDIA-NeMo__Automodel__1919
NVIDIA-NeMo/Automodel
1,919
defect
c9d1aa0367c16fb77afac884ea1993f3571d3165
a3e43b686f3abf8d29c4f081ba68411970535fa5
fix: update defer_fsdp_grad_sync in recipes
# What does this PR do ? Fixes: - defer_fsdp_grad_sync - `examples/llm_finetune/devstral/devstral2_small_2512_squad.yaml` - `examples/llm_finetune/llama3_1/llama3_1_8b_hellaswag_fp8.yaml` - layer type patch for nemotron flash - `examples/llm_finetune/nemotron_flash/nemotron_flash_1b_squad.yaml` The...
diff --git a/examples/llm_finetune/devstral/devstral2_small_2512_squad.yaml b/examples/llm_finetune/devstral/devstral2_small_2512_squad.yaml index e161e5e78f..a75ba2bca6 100644 --- a/examples/llm_finetune/devstral/devstral2_small_2512_squad.yaml +++ b/examples/llm_finetune/devstral/devstral2_small_2512_squad.yaml @@ -5...
1
1
1
[{"id": "G0", "claim": "The new import-hook logic has no unit tests; tests should at least cover patch_allowed_layer_types extending ALLOWED_LAYER_TYPES when transformers is available, idempotency of repeated calls, and install_layer_types_patch_hook deferring patching when transformers is not yet loaded.", "category":...
null
NVIDIA-NeMo__Automodel__1976
NVIDIA-NeMo/Automodel
1,976
defect
a4a73022f90f671a23f17083138010c5ee83c4fe
6103c947472a9bef597cf9d5c6af315e11c74746
fix: Add changes for QwenImage Training
● What does this PR do? Fixes Qwen-Image (T2I) finetuning support by correcting the transformer forward interface, VAE tensor format, text encoding pipeline, and adding BSMNTW loss weighting. Changelog - Qwen-Image Adapter (flow_matching/adapters/qwen_image.py): Replace incorrect img_ids/txt_ids posit...
diff --git a/examples/diffusion/finetune/qwen_image_t2i_flow.yaml b/examples/diffusion/finetune/qwen_image_t2i_flow.yaml index f31bdc57be..280b88fc80 100644 --- a/examples/diffusion/finetune/qwen_image_t2i_flow.yaml +++ b/examples/diffusion/finetune/qwen_image_t2i_flow.yaml @@ -5,7 +5,7 @@ model: attention_backend: ...
4
4
3
[{"id": "G0", "claim": "If loss_weighting_scheme is set to an unrecognized value, compute_loss silently falls through to linear weighting with no warning, so config errors are masked; validate the scheme upfront in __init__ and raise for unknown values.", "category": "correctness", "verdict": "supported", "priority": "...
null
NVIDIA-NeMo__Automodel__1983
NVIDIA-NeMo/Automodel
1,983
defect
e744250ee55b6fdd64f97c2bc6b0265565b5daa3
a77c804bcc2f79ee5eda90d22c7aa30683435024
feat: add tqdm progress bar to all training recipe loops
# What does this PR do ? Adds a `tqdm` progress bar to all training and evaluation loops across LLM, VLM, KD, sequence classification, and retrieval recipes, providing real-time step count, loss, learning rate, and throughput feedback during training. # Changelog - Add `tqdm` progress bar to `FinetuneRecipeForVLM` t...
diff --git a/nemo_automodel/recipes/base_recipe.py b/nemo_automodel/recipes/base_recipe.py index 4bfd083a42..6bc5a54e4c 100644 --- a/nemo_automodel/recipes/base_recipe.py +++ b/nemo_automodel/recipes/base_recipe.py @@ -756,6 +756,40 @@ def _dp_allreduce(self, tensor, op=dist.ReduceOp.SUM, include_cp: bool = False): ...
3
1
1
[{"id": "G0", "claim": "tqdm is imported at runtime in `_make_progress_bar` but is not declared in the `pyproject.toml` `dependencies`, so it works only as a transitive dependency and training would fail with an ImportError if that transitive path ever changed; it should be declared explicitly, preferably by adding \"t...
null
NVIDIA-NeMo__Automodel__1984
NVIDIA-NeMo/Automodel
1,984
defect
032278733e4ead5433a6fb484fb2748fd12d6888
ad2e04c4e9984b2cf0b5cbbb6e3dbcb5e7740f82
fix: batch Flash 1B + Super-49B PEFT + qwen2.5-7B ckpt-robustness
## Summary Root-cause fixes for Nemotron-Flash-1B + Llama-3.3-Nemotron-Super-49B PEFT + qwen2.5-7B ckpt-robustness. Replaces band-aids (skipped phases / inflated thresholds) with real fixes. **Supersedes:** - #1945 — Flash 1B SFT (closed) - #1953 — Flash 1B PEFT (closed) - #1981 — Super-49B PEFT nemotron-nas rotary r...
diff --git a/examples/llm_finetune/nemotron/llama3_3_nemotron_super_49B_squad.yaml b/examples/llm_finetune/nemotron/llama3_3_nemotron_super_49B_squad.yaml index 0593583c96..73a032c39c 100644 --- a/examples/llm_finetune/nemotron/llama3_3_nemotron_super_49B_squad.yaml +++ b/examples/llm_finetune/nemotron/llama3_3_nemotro...
1
1
1
[{"id": "G0", "claim": "The temporary scoping of nightly_recipes.yml to nemotron_flash only should be reverted once the referenced pipeline is complete.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NVIDIA-NeMo__Automodel__2007
NVIDIA-NeMo/Automodel
2,007
defect
45537f96d36323d38a24d40de9a2b39d46b477d9
e3267e7ca19ddd516e2306c9da02f54b448d9e39
feat: lazy preprocessing for text datasets
# What does this PR do ? Replace `.map(fn)` dataset processing with `LazyMappedDataset`. This processes items on the fly, and caches results. # Changelog - Added `nemo_automodel/components/datasets/lazy_mapped_dataset.py` with `LazyMappedDataset` class. - Updated `nemo_automodel/components/datasets/llm/xlam...
diff --git a/nemo_automodel/components/datasets/lazy_mapped_dataset.py b/nemo_automodel/components/datasets/lazy_mapped_dataset.py new file mode 100644 index 0000000000..88e0586035 --- /dev/null +++ b/nemo_automodel/components/datasets/lazy_mapped_dataset.py @@ -0,0 +1,88 @@ +# Copyright (c) 2025, NVIDIA CORPORATION. A...
4
3
1
[{"id": "G0", "claim": "The lru_cache-wrapped local function and the lambda stored in self._get_item are not picklable, so DataLoader with num_workers>0 under spawn/forkserver will fail — a regression from the picklable HF .map() approach.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
NVIDIA-NeMo__DataDesigner__168
NVIDIA-NeMo/DataDesigner
168
defect
d7e93c5ef0cddeddd9d82db7a804c09d5ab1bdeb
20338898d6419648a16f19ab6dc19d99b15fa8b0
refactor: plugin system updates
This PR updates the plugin system. Development notes are captured below. ## Requirements 1. Plugins MUST support defining both a configuration object (a Pydantic model) and some `engine`-related implementation object (`ConfigurableTask`, `ColumnGenerator`, etc.). 1. The UX for making plugins discoverable MUST be...
diff --git a/_tmp_notes.md b/_tmp_notes.md new file mode 100644 index 000000000..3a0c39e61 --- /dev/null +++ b/_tmp_notes.md @@ -0,0 +1,97 @@ +# Plugin system updates + +## Requirements + +1. Plugins MUST support defining both a configuration object (a Pydantic model) and some `engine`-related implementation object (`C...
5
4
1
[{"id": "G0", "claim": "The removed test_plugin_requires_all_fields test only exercised standard Pydantic required-field behaviour and seems unnecessary to keep.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The validity check should also ver...
null
NVIDIA-NeMo__DataDesigner__203
NVIDIA-NeMo/DataDesigner
203
defect
1f9de2c3af114616c28ce8875afbd0e3c045687e
564006d7dac3fdfb129ffac20394786a842ffc0e
fix: hard-disable early shutdown when RunConfig.disable_early_shutdown=true
## Summary This PR makes `RunConfig.disable_early_shutdown=True` **forcibly disable** the early-shutdown mechanism (no indirect threshold tricks). When disabled, we still collect error metrics/summaries, but we will **never**: - flip `early_shutdown=true`, - shut down the executor early, or - raise the "terminated ea...
diff --git a/src/data_designer/engine/column_generators/generators/validation.py b/src/data_designer/engine/column_generators/generators/validation.py index e051415b0..4a4844f9a 100644 --- a/src/data_designer/engine/column_generators/generators/validation.py +++ b/src/data_designer/engine/column_generators/generators/v...
4
1
0
[{"id": "G0", "claim": "The reviewer asks whether `self._shutdown_executor()` in `__exit__` also needs to go inside the new `disable_early_shutdown` guard.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "The new disabled-mode test relies on a fixed `...
null
NVIDIA-NeMo__DataDesigner__242
NVIDIA-NeMo/DataDesigner
242
defect
93f71f84d05d548f1581dd530218692a9c3e805f
bbbab76478872cec2c9ba2aa510d7d83753dd550
feat: Elevate non-LLM concurrency limits to `RunConfig`
## Description Previously, the value of `MAX_CONCURRENCY_PER_NON_LLM_GENERATOR` was hard-coded into the library. This hardcoding creates a problem when a plugin (or other task definition) inherits from `ColumnGeneratorCellByCell`. I this case, there was presently no way to control concurrency up or down. We saw this...
diff --git a/docs/code_reference/run_config.md b/docs/code_reference/run_config.md new file mode 100644 index 000000000..549c64959 --- /dev/null +++ b/docs/code_reference/run_config.md @@ -0,0 +1,6 @@ +# Run Config + +The `run_config` module defines runtime settings that control dataset generation behavior, +including ...
1
1
0
[{"id": "G0", "claim": "The parameter should be renamed from `llm` to the more general `inference` (e.g. `non_inference_max_parallel_workers`), since the other context this parameter appears in is `BaseInferenceParams`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA-NeMo__DataDesigner__245
NVIDIA-NeMo/DataDesigner
245
defect
93f71f84d05d548f1581dd530218692a9c3e805f
12680a623aa445ebaa9ff2c8decfa4a79fa715ee
feat: wire up pt_GB and en_SG personas
This pull request expands support for additional locales and updates related fields and tests to accommodate these changes. Specifically, it adds the `en_SG` (Singapore English) and `pt_BR` (Brazilian Portuguese) locales to the dataset, updates field definitions for these locales, and ensures all related tests reflect ...
diff --git a/src/data_designer/config/utils/constants.py b/src/data_designer/config/utils/constants.py index 8662d4764..a8520f83f 100644 --- a/src/data_designer/config/utils/constants.py +++ b/src/data_designer/config/utils/constants.py @@ -353,9 +353,11 @@ class NordColor(Enum): NEMOTRON_PERSONAS_DATASET_SIZES = { ...
2
2
2
[{"id": "G0", "claim": "The en_SG entry added to NEMOTRON_PERSONAS_DATASET_SIZES should read \"0.49 GB\" rather than \"4.9 GB\"; the dataset is very small.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Brazil-specific \"municipality\" field add...
null
NVIDIA-NeMo__DataDesigner__284
NVIDIA-NeMo/DataDesigner
284
defect
7248b9fc8f7ecfd41d3de236d8502a2f645b2758
893c1a9f3d665d2fe784211ed7beed33469960a2
feat: Add TraceType enum for granular trace control
## Summary This PR converts the boolean `with_trace` field in LLM column configs and `debug_override_save_all_column_traces` in `RunConfig` to use a new `TraceType` enum, providing more granular control over what trace information is captured. ### New `TraceType` Enum The `TraceType` enum provides three modes for tr...
diff --git a/docs/assets/recipes/mcp_and_tooluse/basic_mcp.py b/docs/assets/recipes/mcp_and_tooluse/basic_mcp.py index 849c0fb05..936ba79e1 100644 --- a/docs/assets/recipes/mcp_and_tooluse/basic_mcp.py +++ b/docs/assets/recipes/mcp_and_tooluse/basic_mcp.py @@ -132,7 +132,7 @@ def build_config(model_alias: str, provider...
1
1
0
[{"id": "G0", "claim": "TraceType should be defined using the existing StrEnum class in data-designer-config instead of (str, Enum).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA-NeMo__DataDesigner__285
NVIDIA-NeMo/DataDesigner
285
defect
7248b9fc8f7ecfd41d3de236d8502a2f645b2758
4d55df000d57e702653bb97d65717eb94643fd99
feat: add extract_reasoning_content option to LLM columns
## Summary - Adds opt-in `extract_reasoning_content: bool = False` field to `LLMTextColumnConfig` (and all derived LLM configs) - When enabled, creates a `{name}__reasoning_content` side-effect column containing only the reasoning content from the final assistant response - Extracts and strips the `reasoning_content` ...
diff --git a/packages/data-designer-config/src/data_designer/config/column_configs.py b/packages/data-designer-config/src/data_designer/config/column_configs.py index 90fa16162..9353e6c4d 100644 --- a/packages/data-designer-config/src/data_designer/config/column_configs.py +++ b/packages/data-designer-config/src/data_d...
5
3
2
[{"id": "G0", "claim": "Test at line 143 in test_columns.py is missing an assertion to verify side_effect_columns includes the trace column when with_trace=TraceType.LAST_MESSAGE.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extract_reasoning_cont...
null
NVIDIA-NeMo__DataDesigner__286
NVIDIA-NeMo/DataDesigner
286
defect
62bae42dc20b68ab4d91977ebce45a9c713b606d
d4a6100c72bc70e9df34fc0eca0d74b09e9d7294
feat: add allow_resize for 1:N and N:1 generation patterns
## Summary Adds `allow_resize` for custom (and plugin) column configs so generators can change record count: 1:N expansion and N:1 retraction. Supports both **full_column** (DataFrame in/out) and **cell_by_cell** (return `dict | list[dict]` per row). Addresses [#265](https://github.com/NVIDIA-NeMo/DataDesigner/issues/...
diff --git a/docs/concepts/custom_columns.md b/docs/concepts/custom_columns.md index d080bd707..f62eebf63 100644 --- a/docs/concepts/custom_columns.md +++ b/docs/concepts/custom_columns.md @@ -93,6 +93,40 @@ This gives you direct access to all `ModelFacade` capabilities: custom parsers, | `generator_function` | Callab...
2
1
0
[{"id": "G0", "claim": "allow_resize should be elevated to a property on the base column config (defaulting to False) so custom columns and plugins can override it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G13", "claim": "The FULL_COLUMN doc example uses paramete...
null
NVIDIA-NeMo__DataDesigner__287
NVIDIA-NeMo/DataDesigner
287
defect
510761107bf90b06711884a71a9949a53d382b41
464242b2f2dc0405747935b5d327e8bd8065999c
refactor: move SingleColumnConfig to config.base module
## Summary Refactors the base configuration classes to improve module organization. Consolidates `ConfigBase` and `SingleColumnConfig` in `data_designer.config.base` and extracts `ExportableConfigBase` to a dedicated module. ## Changes ### Added - [`packages/data-designer-config/src/data_designer/config/exportable_c...
diff --git a/AGENTS.md b/AGENTS.md index eb71694a2..4a059af13 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -269,7 +269,7 @@ from typing import TYPE_CHECKING # Runtime imports from pathlib import Path -from data_designer.config.base import ConfigBase +from data_designer.base import ConfigBase if TYPE_CHECKING: ...
2
2
2
[{"id": "G0", "claim": "Commenting out the DataDesignerColumnType import and its get_config_exports() entry in config/__init__.py may stop `from data_designer.config import DataDesignerColumnType` from working, so verify it still imports correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
NVIDIA-NeMo__DataDesigner__303
NVIDIA-NeMo/DataDesigner
303
defect
6dd7dca9baa37bbec95913ba42389c7839fa9074
72b0d57be6633b1211ec50153df44ae94592b25c
chore: update HF card citation copy and add library version to builder config
## 📋 Summary Updates the Hugging Face dataset card template with citation guidance and adds a `library_version` computed field to `BuilderConfig` so generated configs include the library version for traceability. ## 🔄 Changes ### ✨ Added - `library_version` computed field on `BuilderConfig` using `importlib.metada...
diff --git a/packages/data-designer-config/src/data_designer/config/config_builder.py b/packages/data-designer-config/src/data_designer/config/config_builder.py index 7bf791eb8..e97969bd5 100644 --- a/packages/data-designer-config/src/data_designer/config/config_builder.py +++ b/packages/data-designer-config/src/data_d...
3
3
2
[{"id": "G0", "claim": "Accessing library_version (and thus model_dump/to_json/to_yaml) calls importlib.metadata.version directly and will raise PackageNotFoundError, breaking config export/serialization, when run from a source checkout or any environment without the data-designer-config distribution metadata.", "categ...
null
NVIDIA-NeMo__DataDesigner__333
NVIDIA-NeMo/DataDesigner
333
defect
8a2823264097a4d4aa25508a7aebf1de0c3be88b
76811b6b68639a0316db3a89bc2a979a518c74da
feat: add --save-results option to preview command
## 📋 Summary Add `--save-results` flag to the `data-designer preview` CLI command, enabling users to persist preview artifacts (dataset parquet, analysis report HTML, and per-record sample HTML files) to disk with a built-in browser pager for navigating sample records. ## 🔄 Changes ### ✨ Added - [`sample_re...
diff --git a/packages/data-designer-config/src/data_designer/config/utils/visualization.py b/packages/data-designer-config/src/data_designer/config/utils/visualization.py index ac4df1d81..2a87a29b4 100644 --- a/packages/data-designer-config/src/data_designer/config/utils/visualization.py +++ b/packages/data-designer-co...
13
4
1
[{"id": "G0", "claim": "The `Path` import should not live inside the `TYPE_CHECKING` block in test_visualization.py; per the project's AGENTS.md standard-library imports belong at module level.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`dat...
null
NVIDIA-NeMo__DataDesigner__334
NVIDIA-NeMo/DataDesigner
334
defect
cbf71825c64a81d2a9161503bb4441d0cc1911b0
7e8831c895e865240aeb25926785c9bedb879d1b
fix: make DropColumnsProcessorConfig idempotent and support reasoning columns
## 📋 Summary Fixes two bugs in `DropColumnsProcessorConfig` that affect notebook workflows, and adds glob pattern support for dropping columns by pattern (e.g., `*__reasoning_content`). Fixes #332 ## 🔄 Changes ### 🐛 Fixed - `add_processor` now uses upsert semantics — calling it with the same processor name repla...
diff --git a/packages/data-designer-config/src/data_designer/config/config_builder.py b/packages/data-designer-config/src/data_designer/config/config_builder.py index df27e47ab..58a9dfe51 100644 --- a/packages/data-designer-config/src/data_designer/config/config_builder.py +++ b/packages/data-designer-config/src/data_d...
4
3
1
[{"id": "G0", "claim": "When two DropColumnsProcessor configs target the same column, replacing one unconditionally reverts drop to False even though the other remaining processor still expects it True, desyncing _column_configs from _processor_configs; the removal should check other remaining processors before reverti...
null
NVIDIA-NeMo__DataDesigner__336
NVIDIA-NeMo/DataDesigner
336
defect
70dc48884e278fc4a0c6c81883999d1e3838f786
9e241e37d9ffc9babdcc02e99db137d16e7688c9
fix: handle bool, int, float in convert_to_row_element
## Issue : `display_sample_record` crashes with `rich.errors.NotRenderableError` when the dataset contains Python scalar types (`bool`, `int`, `float`) — most commonly when seed data loaded from Parquet/Arrow has boolean columns. ## Fix : Add isinstance(elem, (bool, int, float)) check before the numpy check, con...
diff --git a/packages/data-designer-config/src/data_designer/config/utils/visualization.py b/packages/data-designer-config/src/data_designer/config/utils/visualization.py index 52d61dc9d..98179114e 100644 --- a/packages/data-designer-config/src/data_designer/config/utils/visualization.py +++ b/packages/data-designer-co...
4
4
1
[{"id": "G0", "claim": "The numpy type check in convert_to_row_element is missing lazy.np.bool_, so numpy-backed boolean values may not render correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The scalar-type test should also cover numpy sca...
null
NVIDIA-NeMo__DataDesigner__376
NVIDIA-NeMo/DataDesigner
376
defect
e2c94dab16f7d1b0c26dd51eaba06feb49fa4564
4f082b724f22b2bb99b5d304d5f7a0e525e20fa3
fix: handle discriminated unions in oneOf pruning validator
## 📋 Summary Fixes validation failures when using Pydantic discriminated unions (e.g. `AlphaItem | BetaItem`) with `LLMStructuredColumnConfig`. When the LLM leaks a property across variants, the pruning validator corrupts the instance by stripping properties during failed variant checks, causing all variants to fail....
diff --git a/packages/data-designer-engine/src/data_designer/engine/processing/gsonschema/validators.py b/packages/data-designer-engine/src/data_designer/engine/processing/gsonschema/validators.py index 9a167537c..210d65cda 100644 --- a/packages/data-designer-engine/src/data_designer/engine/processing/gsonschema/valida...
5
1
1
[{"id": "G0", "claim": "The new discriminator-based oneOf validator drops the JSON Schema guarantee that an instance matches exactly one subschema, so two variants that both match the same discriminator value would silently pass instead of raising a oneOf conflict error.", "category": "design", "verdict": "opposed", "p...
null
NVIDIA-NeMo__DataDesigner__378
NVIDIA-NeMo/DataDesigner
378
defect
9889dc1e8d1f16b6228a99c8518c25a374306ef5
99750d60c1ef64b6a8975f8ac031920cee61edbc
feat: add async generator migration with symmetric bridging and statefulness
## Summary PR 2 of 4 in the async engine migration ([#346](https://github.com/NVIDIA-NeMo/DataDesigner/issues/346)). **Full plan:** [`plans/346/async-generators-and-task-queue.md`](https://github.com/NVIDIA-NeMo/DataDesigner/blob/andreatgretel/feat/async-generators-migration/plans/346/async-generators-and-task-queue....
diff --git a/packages/data-designer-engine/src/data_designer/engine/column_generators/generators/base.py b/packages/data-designer-engine/src/data_designer/engine/column_generators/generators/base.py index 932c7fae7..5ce859432 100644 --- a/packages/data-designer-engine/src/data_designer/engine/column_generators/generato...
12
8
2
[{"id": "G0", "claim": "future.result(timeout=...) inside a `with ThreadPoolExecutor` raises TimeoutError after 300s but the context manager's shutdown(wait=True) blocks until the background thread finishes, so the timeout gives no actual deadline protection in notebooks or services; the reviewer asks for shutdown(wait...
null
NVIDIA-NeMo__DataDesigner__385
NVIDIA-NeMo/DataDesigner
385
defect
88989d1854203f8f9689a2dec01cc2811fa0a509
681a529d50847b11af2dfb4e7b50994097ea750e
fix: patch litellm ImageURLListItem to make index field optional (#384)
## 📋 Summary Patches LiteLLM's `ImageURLListItem` TypedDict to make the `index` field optional. Some providers (e.g. OpenRouter) no longer include `index` in image responses, causing a Pydantic validation error when LiteLLM constructs its `Message` object. Closes #384 ## 🔄 Changes ### 🐛 Fixed - Added `patch_imag...
diff --git a/packages/data-designer-engine/src/data_designer/engine/models/litellm_overrides.py b/packages/data-designer-engine/src/data_designer/engine/models/litellm_overrides.py index 92070def8..7874a664d 100644 --- a/packages/data-designer-engine/src/data_designer/engine/models/litellm_overrides.py +++ b/packages/d...
3
3
3
[{"id": "G0", "claim": "The patch mutates only `__annotations__` and not the `__required_keys__`/`__optional_keys__` frozensets that Pydantic v2 uses to resolve TypedDict schemas, so the patch may be ineffective with Pydantic v2.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduce...
null
NVIDIA-NeMo__DataDesigner__401
NVIDIA-NeMo/DataDesigner
401
defect
ebd33227c35de03ab878febd016580b54d0f382a
c383f3fc1469fc78c63ee6f0d847dec7ea1d7f72
feat(cli): bootstrap default configs on CLI startup
## Summary - bootstrap default model/provider config setup from the CLI entrypoint in main so every CLI invocation attempts to ensure the defaults exist - keep bootstrap ownership in main and simplify config_loader.py back to config loading only, while leaving lazy_group.py as pure lazy command loading - keep the runti...
diff --git a/packages/data-designer/src/data_designer/cli/lazy_group.py b/packages/data-designer/src/data_designer/cli/lazy_group.py index 15e0d252a..0bce06e8f 100644 --- a/packages/data-designer/src/data_designer/cli/lazy_group.py +++ b/packages/data-designer/src/data_designer/cli/lazy_group.py @@ -4,12 +4,15 @@ from...
4
4
1
[{"id": "G0", "claim": "The recovery command hardcoded in _BOOTSTRAP_COMMAND uses bare `python`, which can resolve to Python 2, a system Python or a different virtual environment than the one running the CLI, so users who run the warning's command verbatim may leave the problem unsolved; it should use sys.executable (o...
null
NVIDIA-NeMo__DataDesigner__404
NVIDIA-NeMo/DataDesigner
404
defect
ebd33227c35de03ab878febd016580b54d0f382a
c394d711e5c754d99bac60454025642cb6c60633
feat: add AsyncTaskScheduler and RowGroupBufferManager for async engine
## Summary **PR 3 of 4** in the async engine migration plan. Adds the `AsyncTaskScheduler` and `RowGroupBufferManager` - the core orchestration layer that replaces sequential column-by-column processing with parallel, dependency-aware task dispatch. ## Changes ### Added - [`AsyncTaskScheduler`](https://github.com/NV...
diff --git a/packages/data-designer-engine/src/data_designer/engine/dataset_builders/async_scheduler.py b/packages/data-designer-engine/src/data_designer/engine/dataset_builders/async_scheduler.py new file mode 100644 index 000000000..982c78f44 --- /dev/null +++ b/packages/data-designer-engine/src/data_designer/engine/...
26
22
8
[{"id": "G0", "claim": "A non-retryable failure on a from_scratch or batch task (row_index is None) drops nothing, so the row group can never complete, is never checkpointed and callers get no completion signal; all rows in the group should be dropped instead.", "category": "correctness", "verdict": "supported", "prior...
null
NVIDIA-NeMo__DataDesigner__41
NVIDIA-NeMo/DataDesigner
41
defect
97d409bf1694098cf49fca71c2c214ce7f68714a
a3c5fc5eb4db0257df564de7aabf18734817ed7f
fix: process after profile on preview
Fixes issue where columns would be dropped before profiling happens, so profiling would complain about prompts being invalid. Tested on following snippet ``` config_builder.add_column(SamplerColumnConfig( name="category", sampler_type=SamplerType.CATEGORY, params=CategorySamplerParams(values=["red...
diff --git a/src/data_designer/engine/dataset_builders/column_wise_builder.py b/src/data_designer/engine/dataset_builders/column_wise_builder.py index e76dc44f5..5854020e0 100644 --- a/src/data_designer/engine/dataset_builders/column_wise_builder.py +++ b/src/data_designer/engine/dataset_builders/column_wise_builder.py...
1
1
0
[{"id": "G0", "claim": "The preview path's process-after-profile approach will likely need updating if processors ever need to run before profiling, and a longer-term solution probably needs to mimic `create` by processing before the analysis and storing dropped columns so they can be re-appended for the analysis, idea...
null
NVIDIA-NeMo__DataDesigner__414
NVIDIA-NeMo/DataDesigner
414
defect
d1c1f1a7131c196379c218d6d3709c10d8648c91
ea5cebda71f5f1830bf993c59c382a772cd6a884
feat: normalize validator and constraint discriminators
## 📋 Summary Normalizes the Pydantic discriminated union patterns for validator params and sampler constraints to match the established `sampler_type` pattern. This makes the config layer more consistent and produces self-describing JSON schemas — foundational work for the agent CLI. ## 🔄 Changes ### 🔧 Changed -...
diff --git a/packages/data-designer-config/src/data_designer/config/column_configs.py b/packages/data-designer-config/src/data_designer/config/column_configs.py index 49dbb8311..661bbfa22 100644 --- a/packages/data-designer-config/src/data_designer/config/column_configs.py +++ b/packages/data-designer-config/src/data_d...
7
6
3
[{"id": "G0", "claim": "The missing-rhs error test uses `pytest.raises(Exception)`, which passes for any exception and can mask the wrong one being raised, so it should use `ValidationError` instead.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removi...
null
NVIDIA-NeMo__DataDesigner__416
NVIDIA-NeMo/DataDesigner
416
defect
d6b8433e25f3288ab74490d0461ca0df6eecfd2c
cf9977d4dfa25e14a0d717cea75adfbe249ffdf6
feat: Improve generation failure reporting for schema and timeout failures
## Summary - preserve concise parser/schema validation details when `ModelFacade` exhausts correction attempts - include column name, failure category, and primary cause in the dropped-record warning emitted by `ColumnWiseDatasetBuilder` - keep timeout failures visible in the same reporting path without dumping raw mod...
diff --git a/packages/data-designer-engine/src/data_designer/engine/dataset_builders/column_wise_builder.py b/packages/data-designer-engine/src/data_designer/engine/dataset_builders/column_wise_builder.py index a5c63fa39..10a488d31 100644 --- a/packages/data-designer-engine/src/data_designer/engine/dataset_builders/col...
6
4
2
[{"id": "G0", "claim": "`failure_kind` computed by `_classify_generation_failure_kind` is stored on `GenerationValidationFailureError` but never propagated to `ModelGenerationValidationFailureError` nor read by `handle_llm_exceptions`, so the builder must re-derive the kind via text matching that can diverge from the f...
null
NVIDIA-NeMo__DataDesigner__424
NVIDIA-NeMo/DataDesigner
424
defect
28c8345909a92d60a8bcfc5ba810318e37759fde
f1cbbd7e090bfcebf32db1f98716ee077c595661
feat: support 1-to-many FileSystemSeedReader hydration
## Summary This PR adds 1-to-many hydration support for `FileSystemSeedReader` implementations without changing the overall framework model. - `FileSystemSeedReader.hydrate_row()` can now return either: - a single record dict - an iterable of record dicts - filesystem seed selection remains manifest-based by desi...
diff --git a/packages/data-designer-engine/src/data_designer/engine/resources/seed_reader.py b/packages/data-designer-engine/src/data_designer/engine/resources/seed_reader.py index 04a26a4a1..658ad166c 100644 --- a/packages/data-designer-engine/src/data_designer/engine/resources/seed_reader.py +++ b/packages/data-desig...
7
1
1
[{"id": "G0", "claim": "If hydrate_row() returns [] for a selected manifest row, the batch path degrades into the generic \"Something went wrong while reading from the datastore\" retry failure in SeedDatasetColumnGenerator instead of a seed-reader-specific no-rows error; make that case explicit, either by rejecting em...
null
NVIDIA-NeMo__DataDesigner__429
NVIDIA-NeMo/DataDesigner
429
defect
0b324478f183a0af1131e4fc079d22699913555e
18f807aa5a77cf4729e00aa6ccce56e39580c925
feat: wire async task-queue scheduler into ColumnWiseDatasetBuilder
## Summary Final integration PR in the async engine series ([Plan #346](https://github.com/NVIDIA-NeMo/DataDesigner/issues/346)). Wires the `AsyncTaskScheduler` and supporting components (built in PRs [#356](https://github.com/NVIDIA-NeMo/DataDesigner/pull/356) and [#404](https://github.com/NVIDIA-NeMo/DataDesigner/pu...
diff --git a/packages/data-designer-config/src/data_designer/config/run_config.py b/packages/data-designer-config/src/data_designer/config/run_config.py index 03b2ed297..37799fae6 100644 --- a/packages/data-designer-config/src/data_designer/config/run_config.py +++ b/packages/data-designer-config/src/data_designer/conf...
32
27
7
[{"id": "G0", "claim": "When on_before_checkpoint fails and the row group is dropped, the buffer manager's in-memory state for that row group is never freed, so memory for failed row groups accumulates until _build_async returns.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
NVIDIA-NeMo__DataDesigner__435
NVIDIA-NeMo/DataDesigner
435
defect
3d33680b7dcbc95a023e73c00427bf1148b4deea
4b80c4b139377dc3843bd871b090da9e0a250dcd
fix: support nested field access in schema transform templates
## Summary Schema transform templates now support nested dot notation on deserialized JSON columns: ```python template = { "score": "{{ result.quality.score }}", "label": "{{ result.quality.label }}", } ``` Previously, `{{ result.quality.score }}` failed with `'str object' has no attribute 'quality'`. ## Wh...
diff --git a/packages/data-designer-engine/src/data_designer/engine/processing/ginja/environment.py b/packages/data-designer-engine/src/data_designer/engine/processing/ginja/environment.py index 60987405d..bf3ac974a 100644 --- a/packages/data-designer-engine/src/data_designer/engine/processing/ginja/environment.py +++ ...
15
12
5
[{"id": "G0", "claim": "prepare_jinja2_template_renderer always couples the finalize hook and prefer_dict_key_access together when record_str_fn is set, and should expose the flag as its own argument or at minimum add a docstring note clarifying the implicit coupling.", "category": "design", "verdict": "supported", "pr...
null
NVIDIA-NeMo__DataDesigner__438
NVIDIA-NeMo/DataDesigner
438
defect
61fa0150f73098fc69b84f1e6800c64a6c7bf28a
65e346b94d3ac123aadc26d468c0857ff99c06f2
feat: add trace visualization to display_sample_record (#396)
## 📋 Summary Adds LLM conversation trace visualization to `display_sample_record`, allowing users to inspect the full chain-of-thought, tool call...
diff --git a/packages/data-designer-config/src/data_designer/config/utils/misc.py b/packages/data-designer-config/src/data_designer/config/utils/misc.py index e39fbd58c..584c5cfef 100644 --- a/packages/data-designer-config/src/data_designer/config/utils/misc.py +++ b/packages/data-designer-config/src/data_designer/conf...
13
13
4
[{"id": "G1", "claim": "func_name is pre-escaped with html.escape() and then escaped again by _build_html_block, so tool function names containing <, >, &, \" or ' would render double-escaped entities in the HTML title.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
NVIDIA-NeMo__DataDesigner__456
NVIDIA-NeMo/DataDesigner
456
defect
1356408c6ecfa3fe5d6d4fb5571446c9e8b12689
709f53d007eb3e71fc90145913f635cb4f7dfa4c
chore: async engine follow-up - rename, preview, lifecycle, progress
## Summary Follow-up to #449 (async engine PR 6) addressing four open tickets, plus progress bar support and a deadlock fix. ### #437 - Rename `ColumnWiseDatasetBuilder` to `DatasetBuilder` - Renamed class and file (`column_wise_builder.py` -> `dataset_builder.py`) - Updated all imports, references, and test function...
diff --git a/AGENTS.md b/AGENTS.md index abe7aaa58..fdb5445f2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -117,7 +117,7 @@ make coverage # Run tests with coverage report - [packages/data-designer/src/data_designer/interface/data_designer.py](packages/data-designer/src/data_designer/interface/data_designer.py) - Ma...
7
5
2
[{"id": "G0", "claim": "When every row of the single preview row group is dropped, the scheduler frees row group 0 during finalization and the immediately following buffer_manager.get_dataframe(0) in _build_async_preview raises a KeyError, so the preview path should guard the retrieval.", "category": "correctness", "ve...
null
NVIDIA-NeMo__DataDesigner__512
NVIDIA-NeMo/DataDesigner
512
defect
5f04e5d593864bace29cee875a7068b59d93a936
9802f90b195a84e49501fe5b681701ec5190520d
fix: always return ISO-8601 from datetime postproc (#484)
## 📋 Summary The `DatetimeFormatMixin.postproc` method used data-distribution heuristics to auto-detect output formatting, which silently stripped date/time components for small datasets (e.g., single-record previews) or narrow date ranges. This replaces the heuristics with deterministic ISO-8601 output via vectorize...
diff --git a/packages/data-designer-config/src/data_designer/config/column_configs.py b/packages/data-designer-config/src/data_designer/config/column_configs.py index cde98ea45..27d1b3b31 100644 --- a/packages/data-designer-config/src/data_designer/config/column_configs.py +++ b/packages/data-designer-config/src/data_d...
4
2
0
[{"id": "G0", "claim": "The docstring writes the ISO-8601 representation as YYYY-MM-DDTHH:MM:SS, where MM denotes both month and minute; a more precise notation such as YYYY-MM-DDThh:mm:ss is requested (explicitly non-blocking).", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "unclear"...
null
NVIDIA-NeMo__DataDesigner__542
NVIDIA-NeMo/DataDesigner
542
defect
abe5c2d177404cbeeb721fad2c3ffcc611d9b6b5
524fe858024dc4e6ac9831e9da2d06c94483a396
feat: add generic and OpenRouter attribution headers
## 📋 Summary Add outbound attribution headers to all model requests (`X-Title: NeMo Data Designer`) and OpenRouter-specific headers on the built-in OpenRouter provider, gated on the existing `NEMO_TELEMETRY_ENABLED` opt-out. ## 🔗 Related Issue Closes #519 ## 🔄 Changes - Add `ATTRIBUTION_TITLE`, `ATTRIBUTION_REF...
diff --git a/packages/data-designer-config/src/data_designer/config/utils/constants.py b/packages/data-designer-config/src/data_designer/config/utils/constants.py index fb1b5a084..e462247fb 100644 --- a/packages/data-designer-config/src/data_designer/config/utils/constants.py +++ b/packages/data-designer-config/src/dat...
2
2
1
[{"id": "G0", "claim": "`kwargs.get(\"extra_headers\", {})` does not guard against an explicit `None` (an `or {}` would fix it), and the X-Title override test should also cover the caller-kwargs path (`extra_headers={\"X-Title\": ...}` passed directly, no provider headers).", "category": "testing", "verdict": "supporte...
null
NVIDIA-NeMo__DataDesigner__553
NVIDIA-NeMo/DataDesigner
553
defect
cebfb0e967cd226e77de99377a0ebf31407f0de8
0f8d760cf4ccdb2c21755e35a874745aea29d916
chore: async engine readiness - blockers and polish before default
## 📋 Summary Hardens the async engine for production readiness before it becomes the default execution path. Processor callback failures now propagate as `DatasetGenerationError` (fail-fast) instead of silently dropping row groups, `allow_resize=True` triggers a graceful sync fallback with `DeprecationWarning`, and `...
diff --git a/packages/data-designer-config/src/data_designer/config/preview_results.py b/packages/data-designer-config/src/data_designer/config/preview_results.py index d7804e0da..5805c50d3 100644 --- a/packages/data-designer-config/src/data_designer/config/preview_results.py +++ b/packages/data-designer-config/src/dat...
13
9
4
[{"id": "G0", "claim": "A brief comment explaining the scheduler's intentional DatasetProcessingError-to-DatasetGenerationError wrapping policy would help future maintainers.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment noting that tas...
null
NVIDIA-NeMo__DataDesigner__557
NVIDIA-NeMo/DataDesigner
557
defect
cebfb0e967cd226e77de99377a0ebf31407f0de8
7ac7436b9f1759f346a52d41583a5aeec6de8d33
feat: add RunConfig jinja rendering engine
## Summary This PR adds a `RunConfig`-level selector for engine-side Jinja rendering so users can choose between Data Designer's hardened renderer and the broader native Jinja2 sandbox. The public interface is `JinjaRenderingEngine.SECURE` versus `JinjaRenderingEngine.NATIVE`, with `SECURE` as the default so existing ...
diff --git a/docs/code_reference/run_config.md b/docs/code_reference/run_config.md index 2b68f266c..44d8ce73a 100644 --- a/docs/code_reference/run_config.md +++ b/docs/code_reference/run_config.md @@ -1,7 +1,12 @@ # Run Config The `run_config` module defines runtime settings that control dataset generation behavior...
7
3
2
[{"id": "G0", "claim": "extract_column_names_from_expression breaks on jsonpath expressions because the plain ImmutableSandboxedEnvironment used to parse has no jsonpath filter registered, so parse() raises TemplateAssertionError.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
NVIDIA-NeMo__DataDesigner__565
NVIDIA-NeMo/DataDesigner
565
defect
addece9828ac320c34242bcb0ac07ffc6b99e3e6
5e42e20455f90990edeef19a756bf70a89110d48
fix: prevent sticky progress bar ghost lines from terminal wrapping
## 📋 Summary Fixes ghost line accumulation in `StickyProgressBar` during async dataset generation. When a bar line exceeded the terminal width (due to eta/rate field overflow with slow generation), it wrapped to multiple physical lines but `_drawn_lines` only counted 1 per bar. Cursor-up clearing missed the wrapped p...
diff --git a/packages/data-designer-engine/src/data_designer/engine/dataset_builders/utils/async_progress_reporter.py b/packages/data-designer-engine/src/data_designer/engine/dataset_builders/utils/async_progress_reporter.py index c2075c526..c394ae613 100644 --- a/packages/data-designer-engine/src/data_designer/engine/...
7
4
2
[{"id": "G0", "claim": "The wrapping tests only assert that _drawn_lines is stable, so on a runner with a wide default terminal the new wrap-counting code path may never be exercised in CI; strengthen the test by monkeypatching shutil.get_terminal_size to a narrow width and asserting the wrapped line count.", "category...
null