The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The information about the size of the dataset is not coherent.
Error code: UnexpectedError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
instance_id string | repo string | pr_number int64 | task_type string | base_commit string | review_commit string | title string | body string | patch string | n_defects int64 | n_supported int64 | n_major int64 | defects string | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01mf02__jaq__100 | 01mf02/jaq | 100 | defect | 0de15f987ea83a0372ab85b98e0d0b75eeef72d9 | c6a886c8761f9df8f99fddc31634269a0661fda7 | Try-catch | This PR adds the `try <f> catch <e>` syntax. It's still very much a work in progress.
- [x] Implement syntax
- [x] Add tests
- [x] Add benchmarks | diff --git a/jaq-core/src/error.rs b/jaq-core/src/error.rs
index 39d885805..f37254553 100644
--- a/jaq-core/src/error.rs
+++ b/jaq-core/src/error.rs
@@ -56,6 +56,15 @@ pub enum Error {
Custom(String),
}
+impl Error {
+ /// Convert an error into a Val, to be used for `catch`
+ /// expressions.
+ pub fn ... | 10 | 7 | 3 | [{"id": "G0", "claim": "Error::as_val should not be needed; the catch input can be produced with to_string() instead of a dedicated Error-to-Val conversion function.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Option in Ast::TryCatch can be omitted ... | null |
01mf02__jaq__105 | 01mf02/jaq | 105 | defect | 722e5a2f9efc9796d787df197566d09bcba828cb | 6eaedbd80114fe64195bc3f3b1938f832e2fb8bd | Add formatters. | This PR adds the `@` filters that usually format things as strings using specific encodings, but also some that decode strings already encoded.
It is the absolute laziest version of this PR. I won't disagree if you decide to close this right away, or park it forever. It is lazy because:
- I simply added libraries... | diff --git a/Cargo.lock b/Cargo.lock
index 559c36c82..0cd89121a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -42,6 +42,12 @@ dependencies = [
"winapi",
]
+[[package]]
+name = "base64"
+version = "0.21.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "604178f6c5c21f02dc555784810edfb88... | 15 | 11 | 3 | [{"id": "G0", "claim": "to_csv should accept a &[Val] instead of a Val, with callers passing v.as_arr().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CSV cell loop could be shortened a lot by using cell.as_str().", "category": "maintainability", "v... | null |
01mf02__jaq__126 | 01mf02/jaq | 126 | defect | 2a448ea78a6e807de43a5fab314be55040ef2f89 | cb743ef8acc35dc2811f5b7883bc0a761570fe04 | Tail-recursion optimisation (TCO) | This PR implements tail-recursion optimisation, as announced in #111.
This change seems to massively improve the performance of `paths` and `repeat`, because both are now implemented using tail-recursion. (This can be seen by the impact on `tree-paths` and `ex-implode`.)
Unfortunately, `flatten` seems to have becom... | diff --git a/README.md b/README.md
index 665b50b08..a0d53be3c 100644
--- a/README.md
+++ b/README.md
@@ -514,12 +514,7 @@ That is, a filter such as `recurse` can be defined in jaq:
def recurse(f): def r: ., (f | r); r;
-However, note that unlike jq, jaq does not optimise tail calls.
-Therefore, using the above... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR's rewritten `range` lacks a `range/3` (from; to; by) variant that jq provides.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
01mf02__jaq__65 | 01mf02/jaq | 65 | defect | 9f48b1775f53b6ba0a92b612fe9acccb55104683 | 8e4cb5837fd83ac46e22aca25e1618f7de67dd31 | Add group_by filter | This is admittedly not the most efficient implementation of `group_by`, due to the redundant calls to `f`, but am hoping it's useful enough to include. | diff --git a/jaq-core/src/filter.rs b/jaq-core/src/filter.rs
index 7ceeccfe2..5f4854fbc 100644
--- a/jaq-core/src/filter.rs
+++ b/jaq-core/src/filter.rs
@@ -78,6 +78,7 @@ pub enum Filter {
Reverse,
Sort,
SortBy(Box<Self>),
+ GroupBy(Box<Self>),
Has(Box<Self>),
Split(Box<Self>),
Matches(... | 4 | 4 | 4 | [{"id": "G0", "claim": "The PR uses the unstable `slice_group_by` feature, so jaq no longer compiles on stable Rust; the author should reimplement group_by without unstable features.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new group_by im... | null |
01mf02__jaq__96 | 01mf02/jaq | 96 | defect | 285b95cd13ae459ed044cc2a1074e3dd3e82722b | 1ff1ab96fc60a7ba2cb7cb71d9dcc7b200ca133e | Add math filters from libm | This PR adds the range of functions from [libm](https://github.com/rust-lang/libm) as filters, with the exception of `round`, `floor` and `ceil`.
- [x] Port 1-ary functions as 0-ary filters
- [x] Port 2-ary functions as 2-ary filters that ignore `.`
- [x] Port 3-ary functions as 3-ary filters that ignore `.`
- [x... | diff --git a/Cargo.lock b/Cargo.lock
index 5e0cff38c..7a49a5988 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -288,6 +288,7 @@ dependencies = [
"itertools",
"jaq-core",
"jaq-parse",
+ "libm",
"log",
"regex",
"serde_json",
@@ -327,6 +328,12 @@ version = "0.2.147"
source = "registry+https://github.com/rust-lan... | 14 | 14 | 8 | [{"id": "G0", "claim": "Move the macros into a separate file (math.rs) and keep only const MATH inside lib.rs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In math_2_ary, use xs.cartesian(ys, cv) to create (x, y) pairs efficiently.", "category... | null |
0dotxyz__marginfi-v2__143 | 0dotxyz/marginfi-v2 | 143 | defect | 29f8fd066e13ddd22c27b8dbf33d8121b3bfe283 | 2a94625a3a6404a71cc7181f8f9bae683d535ada | Risk Engine Reliability and Performance Improvements | - Optimize compute when calculating account health
- Use real time prices when calculating maintenance health
- Ignore oracles when loading balances for deposits on isolated banks
- More sanity checks
- Removed logs that log pubkeys (expensive)
- Better naming for some functions around the asset term
TODO:
- ... | diff --git a/observability/indexer/src/utils/marginfi_account_dup.rs b/observability/indexer/src/utils/marginfi_account_dup.rs
index 2ae8f4f72..fa5732d9b 100644
--- a/observability/indexer/src/utils/marginfi_account_dup.rs
+++ b/observability/indexer/src/utils/marginfi_account_dup.rs
@@ -3,8 +3,8 @@ use marginfi::{
... | 8 | 6 | 0 | [{"id": "G0", "claim": "Argument names should be aligned to their (renamed) types across the functions, e.g. `weight_type: RequirementType` in calc_weighted_assets_and_liabilities_values.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fully ... | null |
0dotxyz__marginfi-v2__185 | 0dotxyz/marginfi-v2 | 185 | defect | 21bb094bac052ac1141ca785cd87599359785629 | 0b987b4473fe6bca3c8dd2c2ee878235cf0476de | explicit 8-byte alignment | all padding fields are now 8 byte aligned (on bpf, arm, x86), and all program types are now explciitly 8 byte aligned.
improves devex on mac. bpf in-memory (on-chain) representation is unchanged. | diff --git a/programs/marginfi/src/macros.rs b/programs/marginfi/src/macros.rs
index 995da6f5e..593dfa2af 100644
--- a/programs/marginfi/src/macros.rs
+++ b/programs/marginfi/src/macros.rs
@@ -100,3 +100,10 @@ macro_rules! assert_struct_size {
static_assertions::const_assert_eq!(std::mem::size_of::<$struct>(),... | 2 | 1 | 0 | [{"id": "G0", "claim": "Fix the failing linting on the pull request.", "category": "ci", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Confirm that the bank and oracle public keys are intentionally no longer extended into the vector holding the LUT keys.", "category": "corre... | null |
0dotxyz__marginfi-v2__236 | 0dotxyz/marginfi-v2 | 236 | defect | e48a838a77470025a3dde8bc19624a1f986a5d13 | 94b271b3ba8e23adc37f30a0bc72c9f4bdd6c1af | Fix padding, add anchor tests | "Adds anchor tests to the repo.\r\n\r\nBugs found/fixed:\r\n\r\n- [x] Anchor can't decode Banks with(...TRUNCATED) | "diff --git a/Anchor.toml b/Anchor.toml\nindex ea06333a6..17b7e017e 100644\n--- a/Anchor.toml\n+++ b(...TRUNCATED) | 7 | 7 | 1 | "[{\"id\": \"G0\", \"claim\": \"Remove the development-log msg! of the bank config's total_asset_val(...TRUNCATED) | null |
0dotxyz__marginfi-v2__239 | 0dotxyz/marginfi-v2 | 239 | defect | 9eae06648dbe1561e33bc54217ec0ca3fef99376 | 226002c1041ae06b4831767d7b2843009285a486 | Origination fees on borrow | "A per-bank configurable origination fee that is immediately ~paid to the fee vault~ recorded on the(...TRUNCATED) | "diff --git a/README.md b/README.md\nindex df10a22db..1ad23881d 100644\n--- a/README.md\n+++ b/READM(...TRUNCATED) | 3 | 3 | 3 | "[{\"id\": \"G0\", \"claim\": \"Changing LendingAccountBorrowEvent's layout (amount -> amount_pre_fe(...TRUNCATED) | null |
0dotxyz__marginfi-v2__312 | 0dotxyz/marginfi-v2 | 312 | defect | f38f467849cb41815f283549ae2f57f7611ac961 | b3ace34299686fbfb5e977de9e4b3855cd241cd5 | Arena-limited groups | "Adds a `ARENA_GROUP` flag to groups, which limits them to have only two or fewer banks.\r\n\r\nSett(...TRUNCATED) | "diff --git a/clients/rust/marginfi-cli/src/entrypoint.rs b/clients/rust/marginfi-cli/src/entrypoint(...TRUNCATED) | 2 | 1 | 0 | "[{\"id\": \"G0\", \"claim\": \"The account flag constants should drop the `FLAG` suffix, with `DISA(...TRUNCATED) | null |
End of preview.
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.