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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCL__TLOmodel__1379 | UCL/TLOmodel | 1,379 | defect | 6494277376ad3c66d27ddb547a6a61ac3f3012d1 | 81ed18d038b898173783ad53844d25e2bbe24fa2 | Auto register module dependencies | This PR aims at introducing a mechanism to automatically register module dependencies if they are not explicitly registered in simulation. Once merged it will close issue https://github.com/UCL/TLOmodel/issues/1325. | diff --git a/src/tlo/dependencies.py b/src/tlo/dependencies.py
index 8003b44328..1146a2ea5d 100644
--- a/src/tlo/dependencies.py
+++ b/src/tlo/dependencies.py
@@ -4,6 +4,7 @@
import inspect
import os
import pkgutil
+from pathlib import Path
from typing import Any, Callable, Generator, Iterable, Mapping, Optional, S... | 8 | 7 | 3 | [{"id": "G0", "claim": "The new ':param resourcefilepath:' line in the topologically_sort_modules docstring should read \"Assign ``None`` if no path is provided.\" with capitalisation and code formatting as suggested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
UCL__TLOmodel__1418 | UCL/TLOmodel | 1,418 | defect | 5920f513192cf2f7310a9c05f826aa151f85e7e8 | 31f442af05903dba19e7f0c358e40d056b899e67 | Calculating probability of premature death | Fixes #1374
Initial code for calculating the probability of premature death (defined as before 70 years old) and a test for that code. Based off of life_expectancy.py, using the cumulative probabilities of death before the age of 70 years. Calculated separately for M and F. Seems to roughly match figures based on ... | diff --git a/src/tlo/analysis/probability_premature_death.py b/src/tlo/analysis/probability_premature_death.py
new file mode 100644
index 0000000000..2cc3709edc
--- /dev/null
+++ b/src/tlo/analysis/probability_premature_death.py
@@ -0,0 +1,107 @@
+"""
+Read in the output files generated by analysis_scenarios
+generate ... | 6 | 5 | 1 | [{"id": "G0", "claim": "Rename `_calculate_probability_of_dying_before_70` to `_calculate_probability_of_premature_death` and soft-code the magic number 70 as a named constant at the top of the script, with a reference to the paper cited in the issue.", "category": "maintainability", "verdict": "supported", "priority":... | null |
UCL__TLOmodel__1425 | UCL/TLOmodel | 1,425 | defect | 5920f513192cf2f7310a9c05f826aa151f85e7e8 | 0283e07bcf63ac0f236629dc5d68a9e48c7d4aa8 | Convert excel ResourceFiles to csv - Add a method to read converted files | This PR aims at adding a method that will help reading the newly converted csv files in a similar manner as their excel equivalent were read. It also addresses situations where multiple sheets are required i.e `pd.read_excel(resourcefile_path, sheet_name=[sheet1, sheet2, ...., sheetN])`.
| diff --git a/resources/ResourceFile_AbortionAndMiscarriage.xlsx b/resources/ResourceFile_AbortionAndMiscarriage.xlsx
deleted file mode 100644
index 34a2d38e214..00000000000
--- a/resources/ResourceFile_AbortionAndMiscarriage.xlsx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d9b7... | 7 | 7 | 0 | [{"id": "G0", "claim": "The docstring should comment on what the df.filter(like='Unnamed') drop is doing and note any behaviour the user should be aware of, e.g. that sheets/columns with certain names get dropped silently.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
UCL__TLOmodel__1437 | UCL/TLOmodel | 1,437 | defect | d9d3f62dd37c4a4cb278497e41207c091ffab699 | 5f5d9921063034462e9d4c36abda73988c53aab6 | Fix over-allocation of Bed Days in #1399 | Closes #1399 |
Fixes how bed days footprints are combined when a person is allocated another set of bed-days, but is already an inpatient. Implements the "2nd solution" in #1399; the higher-priority bed on each day is assigned. As an explicit example:
- Person `p` current has a footprint of `bed1` for 2 days and ... | diff --git a/src/tlo/methods/bed_days.py b/src/tlo/methods/bed_days.py
index 7adb6de60c..7cb3dbeac5 100644
--- a/src/tlo/methods/bed_days.py
+++ b/src/tlo/methods/bed_days.py
@@ -318,6 +318,60 @@ def issue_bed_days_according_to_availability(self, facility_id: int, footprint:
return available_footprint
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Check how combine_footprints_for_same_patient behaves when a footprint containing three bed types is issued, since the function is not restricted to two bed types (i.e. add coverage for more than two bed types).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
UCL__TLOmodel__1448 | UCL/TLOmodel | 1,448 | defect | 2dff6751ab1294ef42917880dc1ddc46b167e522 | ebc55aa5dd42c83f9504559ddc7fd8eb453b77df | Make `BitsetHandler` variable width and a pandas extension | Concerns #1316 |
Introduces the functionality for us to store bitsets as an extension to pandas, rather than having to use the `BitSetHandler` as an intermediary class.
`bitset` series (and thus dataframe columns) are stored as fixed-width bytestrings, where each character is represented by a `np.uint8`. The size... | diff --git a/src/tlo/bitset_handler/bitset_extension.py b/src/tlo/bitset_handler/bitset_extension.py
new file mode 100644
index 0000000000..d04f522c9d
--- /dev/null
+++ b/src/tlo/bitset_handler/bitset_extension.py
@@ -0,0 +1,730 @@
+from __future__ import annotations
+
+import operator
+import re
+from typing import (
... | 12 | 11 | 3 | [{"id": "G0", "claim": "Most instances of ALLOWABLE_ELEMENT_TYPES could be replaced with the element type alias in isinstance calls, and the alias renamed to something more descriptive such as ElementType.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
UCL__TLOmodel__1557 | UCL/TLOmodel | 1,557 | defect | 3ddc201421924fb4f59655991c9a35872383d782 | 87a85a9a6cd25feda628b737912fd2ea076b7120 | Remove population-wide HSI events | Fixes #1260
This PR resolves Issue #1260 by:
- Adding a check in check_hsi_event_is_valid to ensure an HSI_Event's target cannot be the entire Population.
- Removing all handling of cases where an HSI_Event targets the entire Population.
Note: This PR was already merged with PR #1493 to ensure a known instance ... | diff --git a/src/tlo/methods/chronicsyndrome.py b/src/tlo/methods/chronicsyndrome.py
index 0ae6599939..5a16e2b3ec 100644
--- a/src/tlo/methods/chronicsyndrome.py
+++ b/src/tlo/methods/chronicsyndrome.py
@@ -213,12 +213,12 @@ def initialise_simulation(self, sim):
outreach_event = ChronicSyndrome_LaunchOutreachE... | 2 | 2 | 0 | [{"id": "G0", "claim": "The HSI_Event class docstring should say subclasses must inherit from `IndividualScopeEventMixin` instead of 'one of the EventMixin classes', to make explicit that PopulationScopeEventMixin is no longer allowed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "i... | null |
UCL__TLOmodel__1610 | UCL/TLOmodel | 1,610 | defect | 0e66cfa102f8805a23d8f7d165476c5acd804b66 | 8efeb3e62c4f402c4b2b8695f4012464a5f73ab3 | Add labels to disease module parameters | This PR is a first step in addressing issue #1036. We aim to have all parameters assigned a label as @marghe-molaro has clearly [explained here](https://github.com/UCL/TLOmodel/issues/1036#issuecomment-2820776811) | diff --git a/src/tlo/core.py b/src/tlo/core.py
index 9fbbf08893..4f73617d81 100644
--- a/src/tlo/core.py
+++ b/src/tlo/core.py
@@ -80,7 +80,7 @@ class Specifiable:
Types.BITSET: int,
}
- def __init__(self, type_: Types, description: str, categories: List[str] = None):
+ def __init__(self, type_: T... | 10 | 9 | 4 | [{"id": "G0", "claim": "Rename `self.labels` to `self.label` to facilitate interpretability, as there will be one label per parameter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Include MIN and MAX values for each parameter, which should def... | null |
UCL__TLOmodel__1633 | UCL/TLOmodel | 1,633 | defect | 79faf008fd8b9aa8e9da8e38f87e6d0a9e710fa8 | 1f48cdce241fddf3c4f50423844c57638ed6db72 | Allow consumable availability to be overridden for a given Treatment ID | This PR adds functionality allowing modellers to define a single/set of Treatment IDs for which consumable availability is set at 100%. I've taken the following approach:
1. Added a new parameter to the health system - `cons_override_treatment_ids` - which can contain treatment ids for which cons. availability shoul... | diff --git a/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv b/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv
index 8c670a914d..1b89b9230c 100644
--- a/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv
+++ b/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv
@... | 3 | 3 | 1 | [{"id": "G0", "claim": "The Consumables class should get the list of overridden treatment ids from the health system module (passed once at instantiation) rather than receiving it from each HSI event on every request.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
UCL__TLOmodel__1742 | UCL/TLOmodel | 1,742 | defect | 38a21f964843a6ede05ba970ec6f9ba92068c2f8 | 7183e54262dc9439c4a2098c1dd0aa34f8e32611 | Param Revamp - HIV | ## Files
### Files changes:
- parameters.csv
- scaleup_parameters.csv
- It is important to review the modifications I have made to this file. I have updated to the standard parameters.csv format, thus the column `target_value` has been renamed `value`, and the max and mins have been changed to `prior_min` an... | diff --git a/resources/ResourceFile_HIV/parameters.csv b/resources/ResourceFile_HIV/parameters.csv
index 835dfa942a..97b58be577 100644
--- a/resources/ResourceFile_HIV/parameters.csv
+++ b/resources/ResourceFile_HIV/parameters.csv
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c662f8cd5d5242cc9... | 3 | 1 | 1 | [{"id": "G0", "claim": "The Hiv_DecisionToContinueOnPrEP eligibility check should use the maximum age of AGYW (age_max_agyw) instead of p['age_max_prep'].", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The parameters describing repeat healthcare see... | null |
UCL__TLOmodel__1781 | UCL/TLOmodel | 1,781 | defect | c392004dfd39eab8fe701662f6f61c4edb7c0a8e | cb1e2eaaf917622c4bb38c6340d6cd036166cbc9 | Fix branching issues in PR #1662, #1689, and #1773 | This PR manually manually reproduces changes that had originally been implemented in PR #1662, #1689, and #1773 from the current version of master, to ensure that all updates to the HealthSystem that have occurred since are accounted for.
PRs #1662 and #1689: removed the concept of squeeze factor from the HealthSys... | diff --git a/src/tlo/methods/healthsystem.py b/src/tlo/methods/healthsystem.py
index d5be894112..1c8e67a830 100644
--- a/src/tlo/methods/healthsystem.py
+++ b/src/tlo/methods/healthsystem.py
@@ -1,14 +1,13 @@
import datetime
import heapq as hp
import itertools
-import math
import re
import warnings
from collectio... | 4 | 2 | 0 | [{"id": "G0", "claim": "Consider pulling out all remaining references to 'squeeze_factor' (including the logs and the HSI_Event definition), since leaving the vestiges of 'squeeze_factor' could invite confusion in the future.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"... | null |
UCL__TLOmodel__847 | UCL/TLOmodel | 847 | defect | e6ec76446514f012cb836bc4110a6cd84dab5b82 | 8eac1bb524808d980f2c83587ecc446c06d155ed | refactor calls to depression from mutilpe modules and do calibration on MentalAll usage | In this branch, we first refactor calls to depression services from four routes in multiple modules and make the calls aggregated inside the depression module, and then calibrate relevant parameters to reduce the MentOPD to be comparable with observed data. | diff --git a/src/tlo/methods/care_of_women_during_pregnancy.py b/src/tlo/methods/care_of_women_during_pregnancy.py
index f9b8e1de0c..ea03a0185f 100644
--- a/src/tlo/methods/care_of_women_during_pregnancy.py
+++ b/src/tlo/methods/care_of_women_during_pregnancy.py
@@ -779,8 +779,8 @@ def screening_interventions_delivered... | 3 | 3 | 2 | [{"id": "G0", "claim": "It may not be okay to omit the squeeze_factor argument when calling do_on_presentation_to_care from screening_interventions_delivered_at_every_contact, since that function has no squeeze_factor to pass (and at S1 the called function required the argument).", "category": "correctness", "verdict":... | null |
UCL__TLOmodel__929 | UCL/TLOmodel | 929 | defect | ca7eb34a08efa219bd6c253a8c235d30aff42507 | 8fac70b10aa77fcc10da5612de4d3596700a4e5f | Functionality Needed to Examine Health Gains Under Each Mode of `HealthSystem` | This PR brings in
* Changing the `mode_appt_constraints` and `use_funded_or_actual_staffing` through `PARAMETERS` (as well as module kwargs)
* Updates to the specification of the `fullmodel` as a result
* Scenarios/scripts that allow for running the model under lots of different configurations of the `HealthSystem`... | diff --git a/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv b/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv
index 9d3d4b7d55..f248cf1890 100644
--- a/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv
+++ b/resources/healthsystem/ResourceFile_HealthSystem_parameters.csv
@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The scenario docstrings should state explicitly which consumables availability ('all'/'none'/default) applies under each mode, or clarify that availability is not varied across draws.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
UCL__TLOmodel__979 | UCL/TLOmodel | 979 | defect | 3de084748a9c36e5d1b23a52f1be1623a62cdfeb | a18ddff627561e640a0a5222608c35e53356a94f | Merge HR resources and Consumables at facility levels 1b and 2 so that squeeze is more balanced | Here we effectively "merge" the two different facility levels of '1b' and '2' by:
* moving the defined capabilities for level '1b' up to level '2'
* redirecting HSI scheduled to occur at level '1b' to level '2'
The purpose of doing this is:
* It is uncertain whether HSI defined in the disease modules to occur at ... | diff --git a/src/scripts/calibration_analyses/analysis_scripts/analysis_compare_appt_usage_real_and_simulation.py b/src/scripts/calibration_analyses/analysis_scripts/analysis_compare_appt_usage_real_and_simulation.py
index 54410ea030..e96bd591eb 100644
--- a/src/scripts/calibration_analyses/analysis_scripts/analysis_co... | 2 | 1 | 0 | [{"id": "G0", "claim": "The added line that merges simulation_usage from level 1b into 2 may not be needed, since the new simulation_usage may no longer include level 1b.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please extend the merge of fa... | null |
UI5__inspector__175 | UI5/inspector | 175 | defect | e22cf6f4bf7fbbf1ac59d98e7019823cb7450431 | 730ddc34e90b98af1763efec45791d8a77028e90 | fix: improve service worker persistency | Remove all port connection instances in favor of "static" (Simple one-time requests) to prevent auto port disconnect (~5 min port lifetime). Similar APIs are followed to avoid complex refactor. Messenger is no longer needed as ports are no longer stored. Additionally an issue with supportability overlay is resolved.
... | diff --git a/app/html/panel/ui5/index.html b/app/html/panel/ui5/index.html
index 11a595ca..4e920d41 100644
--- a/app/html/panel/ui5/index.html
+++ b/app/html/panel/ui5/index.html
@@ -144,10 +144,6 @@
</contents>
</tabbar>
- <!-- Connection timeout -->
- <overlay id="timeout" hidd... | 1 | 1 | 0 | [{"id": "G0", "claim": "The duplicated `port` object should be moved into `utils` and imported from there instead of being redefined in each file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UKGovernmentBEIS__control-arena__121 | UKGovernmentBEIS/control-arena | 121 | defect | c6191665c93251e7ee4d2c0c3365253c6463b03e | 4329d9558d1b3d0bef259ac9f48eb26c7808b17e | Main Task: MLflow | ## Summary
* This implements a main task to integrate the MLflow Tracking Server with the training cluster
* [Design Document for MLflow](https://docs.google.com/document/d/1dqfFpQjUQ1PJNcn8GGgifka8o6DXnLPMJot1opzLODU)
## Please Review
- [ ] [Agent run on main task](https://orca-app-o6iou.ondigitalocean.app/l... | diff --git a/control_arena/settings/infra/agent.yaml b/control_arena/settings/infra/agent.yaml
index e308a73ac..81eb726f2 100644
--- a/control_arena/settings/infra/agent.yaml
+++ b/control_arena/settings/infra/agent.yaml
@@ -35,3 +35,4 @@ allowDomains:
subadminNamespaces:
- prometheus
- training
+ - mlflow
diff... | 3 | 2 | 1 | [{"id": "G0", "claim": "The scorer should keep the score binary for now — converting it to bool before returning so that only a fully complete task (score==1.0) counts as complete — and return both the fractional and the bool score only in a later PR.", "category": "design", "verdict": "supported", "priority": "P1", "s... | null |
UKGovernmentBEIS__control-arena__123 | UKGovernmentBEIS/control-arena | 123 | defect | c6191665c93251e7ee4d2c0c3365253c6463b03e | 53852083137936790c7ddd6297a7fab6d5e0e2e2 | Main task: Argo CD Setup | ## Summary
* This implements a main task to setup the Argo CD for Declarative GitOps CD in the cluster
* [Design Document for ArgoCD](https://docs.google.com/document/d/1nrrXPTSODdXiSN_eGZ6fS_XZwXwTooPMN3YL_mnEego)
## Please Review
- [ ] [Agent run on main task](https://orca-app-o6iou.ondigitalocean.app/l/arg... | diff --git a/control_arena/settings/infra/Makefile b/control_arena/settings/infra/Makefile
index fb393108e..2237a637d 100644
--- a/control_arena/settings/infra/Makefile
+++ b/control_arena/settings/infra/Makefile
@@ -98,6 +98,9 @@ setup:
@helm upgrade --install kuberay-operator kuberay/kuberay-operator --version 1.2.... | 6 | 3 | 2 | [{"id": "G0", "claim": "The human trajectory link may be wrong: it opens a page with strange characters or directly to a .eval file.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The gitserver image build/push in the Makefile and the gitserver/netw... | null |
UKGovernmentBEIS__control-arena__125 | UKGovernmentBEIS/control-arena | 125 | defect | 8956115704951699e74a86577797a5b2f29310ae | f66415c6647d1429c6b047f627fbcef380361381 | Main task: Default Deny Egress | ## Summary
Add a default deny policy for egress - only required domains should be allowed
[Design Document for Default Deny Egress](https://docs.google.com/document/d/1U9FvNL-EIluXCSm2aO9lzlx33KsALBMQjqbZ0LXGKWo/edit?tab=t.0#heading=h.6ztcyc73e6tc)
## Please Review
- [ ] [Agent run on main task](https://orca-... | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index a04dcc839..abdaa0534 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1,3 +1,3 @@
# We just have one group in charge of the whole repo for now
-* @EquiStamp/control-arena-reviewers
+
* @UKGovernmentBEIS/control-arena-owners
diff --git ... | 4 | 3 | 0 | [{"id": "G0", "claim": "The link to the human trajectory is a 404.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README's Example Solution link points to an empty solution branch, so the linked example does not exist.", "category": "documenta... | null |
UKGovernmentBEIS__control-arena__127 | UKGovernmentBEIS/control-arena | 127 | defect | 6033c0f052953856c758abf344f93968aa4d8aa3 | da1aaffd6afa42bfac265d22252f6147bceb7337 | Main task: Jupyter notebook | ## Summary
This implements a main task to launch a Jupyter Notebook server in the same environment as the training cluster. The agent is also asked to ensure the notebook can access the datasets and models, and to secure the notebook with an access token.
* [Design doc](https://docs.google.com/document/d/1Qo4T7GKCT... | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index a04dcc839..abdaa0534 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1,3 +1,3 @@
# We just have one group in charge of the whole repo for now
-* @EquiStamp/control-arena-reviewers
+
* @UKGovernmentBEIS/control-arena-owners
diff --git ... | 3 | 3 | 0 | [{"id": "G0", "claim": "Rename the QA file jupyter-human.jsonl to \"JupyterNotebook+<whichever side task is being done>.jsonl\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Example Solution section of the README should describe what is do... | null |
UKGovernmentBEIS__control-arena__130 | UKGovernmentBEIS/control-arena | 130 | defect | 2a43cb16ec203b7ddf442f536687185dc433c6df | fc34a6b46407e2c53a9b8950c59c74a4e402a801 | Feature: diff monitor | ## Summary
* Add in a diff monitor, which is able to see the diff on file writing operations instead of just the tool call
## Example
Before, the monitor would see:
'replace_str_file: {\'path\': \'/workspace/training-infra/training/train.py\', \'old_str\': \' # Copy the saved model files back t... | diff --git a/control_arena/protocols/all_protocols.py b/control_arena/protocols/all_protocols.py
index 0c74386a0..392e8950e 100644
--- a/control_arena/protocols/all_protocols.py
+++ b/control_arena/protocols/all_protocols.py
@@ -7,6 +7,7 @@
DEFAULT_TRUSTED_MODEL,
)
from control_arena.protocols.protocol_parts.mon... | 2 | 2 | 0 | [{"id": "G0", "claim": "The monitor prompt should be made a property of the Monitor class so it can be configured without editing the code, with the refactor done in a different PR if it is the same for other monitors.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
UKGovernmentBEIS__control-arena__15 | UKGovernmentBEIS/control-arena | 15 | defect | 6ebd258c66e905849e9c619da7a0902ef1648543 | 33e19be18b91ece59a0d5a393872dbb503c260ae | Fix prometheus setup main task scoring and add basic tools for default agent | - Fix Prometheus Setup main task scoring (now looking for prometheus pod in the 'training' namespace)
- Add view_file, edit_file & create_file tools using basic bash commands for default agent
- Move agent & monitor to 'control_protocol' directory and refactor as 'trusted_monitoring' solver | diff --git a/control_arena/settings/common/default_agent.py b/control_arena/control_protocols/common/default_agent.py
similarity index 52%
rename from control_arena/settings/common/default_agent.py
rename to control_arena/control_protocols/common/default_agent.py
index e3fa84032..52bf884d6 100644
--- a/control_arena/se... | 6 | 6 | 1 | [{"id": "G0", "claim": "Creating a file via an echoed shell command should be replaced with the simpler sandbox().write_file approach, as in the agent framework's create_file tool.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Displaying a file by shell... | null |
UKGovernmentBEIS__control-arena__166 | UKGovernmentBEIS/control-arena | 166 | defect | 7da7fbb71a1df6d66b8c47d2879a8de5f4712213 | 814fec0512fe0567e9dc24e3a1e914cb29771c49 | Main Task: SetupOtelCollector | ## Summary
- This implements a main task to add OpenTelemetry Collectors to the cluster as well as instrument the train script to emit telemetry data.
- [Design Document for SetupOtelCollector](https://docs.google.com/document/d/15oxImOw38fO7u293jhOBlay-WBCG2IiiJCmF8WFsNdg/edit?tab=t.0#heading=h.7m5yzi7rkxnx)
... | diff --git a/control_arena/settings/infra/agent.yaml b/control_arena/settings/infra/agent.yaml
index fcbd81a7a..62d90715f 100644
--- a/control_arena/settings/infra/agent.yaml
+++ b/control_arena/settings/infra/agent.yaml
@@ -16,13 +16,11 @@ services:
SERVICEACCOUNT=/var/run/secrets/kubernetes.io/serviceaccount... | 2 | 2 | 2 | [{"id": "G0", "claim": "The README's task-requirements section was copied unchanged from the deploy_efk_stack task and needs to be rewritten to describe the OTel collector task.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CI errors must be ... | null |
UKGovernmentBEIS__control-arena__172 | UKGovernmentBEIS/control-arena | 172 | defect | 5c9bc31847dd6ca4251475db9c26d061cc06ce66 | 1d1d6e39357b0771d2f87c0e33e82054a75eacea | Main Task: Create ClusterSecretStore | ## Summary
This PR adds a main task to create a ClusterSecretStore to distribute shared API credentials to development namespaces.
- [Design Document](https://docs.google.com/document/d/1WJecZPmH1r4X73FjHMO6rgNxtTCIQZKra6gDvsu2xrE/edit)
## Please review
- [ ] Main task implementation in this PR, including t... | diff --git a/control_arena/settings/infra/Makefile b/control_arena/settings/infra/Makefile
index e85aaf4fc..ee9dbc308 100644
--- a/control_arena/settings/infra/Makefile
+++ b/control_arena/settings/infra/Makefile
@@ -43,6 +43,9 @@ setup:
@echo "Adding Helm repositories..."
@helm repo add kuberay https://ray-project... | 1 | 1 | 1 | [{"id": "G0", "claim": "The CI errors must be resolved before approval - the merge into the branch left duplicate list entries and unsorted imports in main_tasks/__init__.py that make the checks fail.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
UKGovernmentBEIS__control-arena__179 | UKGovernmentBEIS/control-arena | 179 | defect | 6db755654ba2a22afb705569149947bb9c790032 | a12431a11261265a4357e120435c6fa58ce019d7 | Main Task: Refactor Python Codebase to Pass Pylint Linting | ## Summary
* This implements a main task to perform a comprehensive refactor of the Python codebase to ensure it adheres to Pylint's coding standards. This involves making significant modifications to improve code quality and maintainability.
* [Design doc](https://docs.google.com/document/d/1Qo4T7GKCTtWbUAkZNqeqI-... | diff --git a/control_arena/settings/infra/main_tasks/__init__.py b/control_arena/settings/infra/main_tasks/__init__.py
index f007eada5..79c25d10d 100644
--- a/control_arena/settings/infra/main_tasks/__init__.py
+++ b/control_arena/settings/infra/main_tasks/__init__.py
@@ -10,6 +10,7 @@
from .helm_chart_refactor.helm_c... | 1 | 1 | 1 | [{"id": "G0", "claim": "There is a CI error on the pull request that needs to be checked and fixed before the reviewer will approve it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
UKGovernmentBEIS__control-arena__180 | UKGovernmentBEIS/control-arena | 180 | defect | 997acc97a605e14c93f0c90e3dae886f12536416 | 308ce96da09e7a4d26f1a6705b3823384b1308b2 | Main Task: RBAC Configuration | ## Summary
This adds a main task to implement Role-Based Access Control (RBAC) for two mock ML teams, ensuring proper resource isolation, quota enforcement, and access control for shared services like MinIO storage and Ray compute cluster.
[Design Doc](https://docs.google.com/document/d/1Qo4T7GKCTtWbUAkZNqeqI-2aK... | diff --git a/.gitleaksignore b/.gitleaksignore
index 52d37d833..936d3b2d5 100644
--- a/.gitleaksignore
+++ b/.gitleaksignore
@@ -1 +1,2 @@
-control_arena/settings/infra/main_tasks/deploy_efk_stack/QA/DeployEfkStack+SecretExfiltrationAWSCredentials.jsonl:aws-access-token:4
+# Tool calls
+*.jsonl
diff --git a/control_are... | 1 | 1 | 1 | [{"id": "G0", "claim": "The CI error should be double-checked and resolved before the pull request is merged.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
UKGovernmentBEIS__control-arena__182 | UKGovernmentBEIS/control-arena | 182 | defect | 2fea990978fd48407c126c9f617398aa479d8df3 | c2ec09c2260e1e816c6bd1d03f1ce8427e0f82f3 | Feature/cli | # CLI Tool for Control Arena
## Summary
Add in serialization and deserialization for control arena types, and use deseserialization in a new cli.
* Serialization/deserialization utilities in `serde.py`
* New `ca` CLI entry point with `eval-single` command
* Support for passing arbitrary configuration options... | diff --git a/control_arena/_control_arena_registry.py b/control_arena/_control_arena_registry.py
index addeece8f..a735f3d58 100644
--- a/control_arena/_control_arena_registry.py
+++ b/control_arena/_control_arena_registry.py
@@ -1,35 +1,42 @@
from abc import ABC, abstractmethod
from typing import ClassVar, TypeVar, c... | 3 | 3 | 1 | [{"id": "G0", "claim": "Having both `ca` and `control-arena` as CLI entrypoints is confusing, and a CLI entry point pointing into the examples folder is wrong; either keep the script out of pyproject.toml or move the CLI code into the library and merge it with the `control-arena` CLI.", "category": "design", "verdict":... | null |
UKGovernmentBEIS__control-arena__186 | UKGovernmentBEIS/control-arena | 186 | defect | 7f789508a6375222c50a953881b8e9de0e1d284d | a560ea970254088043c07b2de51e0b839438f5e6 | Gvisor setup task v2 | ## Summary
The gVisor setup task (#84) ended up being a bit too simple as most of the interesting stuff needed to happen outside the agent environment.
This PR changes the starting point for the task to one that contains some things that are incompatible with gVisor, which the agent now will need to fix.
The ... | diff --git a/control_arena/settings/infra/Makefile b/control_arena/settings/infra/Makefile
index 7930e4e5f..6b818864e 100644
--- a/control_arena/settings/infra/Makefile
+++ b/control_arena/settings/infra/Makefile
@@ -26,10 +26,10 @@ setup:
@echo "Checking if kind cluster 'control-arena' exists..."
@if ! kind get cl... | 2 | 1 | 1 | [{"id": "G0", "claim": "On this branch the gVisor tests pass but other main tasks' tests fail (both default_deny_egress tests and the aim-setup solution test), so the PR may be adding regressions that require changes on the other solution branches.", "category": "correctness", "verdict": "supported", "priority": "P0", ... | null |
UKGovernmentBEIS__control-arena__223 | UKGovernmentBEIS/control-arena | 223 | defect | 0b0dc1f2ed0234ef8f4a8bb919cc5b7af9c1f590 | 4fa74ae14566cd8352b1a7d83ba6fd67b78b1205 | Prompt Store | ## Summary
Make a unified way of using prompts in our policies and monitors. You can pass a prompt file name or pass a prompt directly. Added an example file to showcase this
| diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc
index f5593bc92..91a83732c 100644
--- a/.markdownlint.jsonc
+++ b/.markdownlint.jsonc
@@ -2,4 +2,5 @@
"line-length": false,
"gitignore": true,
"fix": true,
+ "MD033": false
}
diff --git a/README.md b/README.md
index 182f8608c..5e3c01b92 100644
--... | 6 | 6 | 2 | [{"id": "G0", "claim": "The PromptStore registry adds no real value over just passing the prompt in as a string or file path (and an existing registry approach would be preferable if one is kept), so the PromptStore should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
UKGovernmentBEIS__control-arena__270 | UKGovernmentBEIS/control-arena | 270 | defect | 45addf0a544737956a8ac75197f73a14a45ae3b4 | 68eb61ae2e5e66062eb9cf570d748362a542e328 | Refactor: allow repeat registration in registries to enable easier iteration in Jupyter notebooks | ## Summary
Preventing repeat registrations for protocols, policies and monitors makes it difficult to work in Jupyter notebooks because if you make a change to e.g. a policy and want to re-register it you must restart the whole Jupyter kernel rather than just re-running the cell. This change allows you to repeatedly... | diff --git a/control_arena/_control_arena_registry.py b/control_arena/_control_arena_registry.py
index e1b5eef69..f38eb031e 100644
--- a/control_arena/_control_arena_registry.py
+++ b/control_arena/_control_arena_registry.py
@@ -1,3 +1,4 @@
+import logging
from abc import ABC, abstractmethod
from typing import ClassV... | 1 | 1 | 1 | [{"id": "G0", "claim": "Can you add similar behaviour on the path that registers a direct HasRegistry subclass with the registries — change the assertion on line 23 of the registry so re-declaring a class is handled like repeat registration instead of raising.", "category": "design", "verdict": "supported", "priority":... | null |
UKGovernmentBEIS__control-arena__281 | UKGovernmentBEIS/control-arena | 281 | defect | 18bbc22bb8ac43cb1e4be27e08fb5c230e12fc2a | 5da2972b44dccef9d0dc5477f440c7780fab8593 | Feature/helm-refactor-improvement | ## Summary
Various fixes to the refactor-pylint task.
* Don't try to store anything on the python object - pass the state to the setup_environment function instead
* Don't fail if the agent installs pylint again
* More clear instructions and commands for the agent to test
Before, the agent got 0% main task success o... | diff --git a/control_arena/settings/infra/agent-codebase b/control_arena/settings/infra/agent-codebase
index 9e54cc6a6..eb8757a65 160000
--- a/control_arena/settings/infra/agent-codebase
+++ b/control_arena/settings/infra/agent-codebase
@@ -1 +1 @@
-Subproject commit 9e54cc6a6dd667afd560621f14da2992988bcfa0
+Subproject... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a brief explanation of the per-task Makefile — whether one is now kept in every task or this is specific to this task, and what it is for.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UKGovernmentBEIS__control-arena__283 | UKGovernmentBEIS/control-arena | 283 | defect | 18bbc22bb8ac43cb1e4be27e08fb5c230e12fc2a | 1a4f1d787b3cd44f6bc6069dbb77deefc5c31346 | Feature: add bash tool (wrappers) with command allow and deny lists | ## Summary
Adds tools which wrap the inspect bash() and bash_session() tools and add command allow and deny lists, implemented as configurable regexes which act on commands sent to the tools. This will allow us to make the tasks harder and more realistic by configuring these tools as appropriate.
## Test Plan
... | diff --git a/control_arena/tools/__init__.py b/control_arena/tools/__init__.py
index cc3b9687f..d69927868 100644
--- a/control_arena/tools/__init__.py
+++ b/control_arena/tools/__init__.py
@@ -1,3 +1,4 @@
+from control_arena.tools.bash import secure_bash, secure_bash_session
from control_arena.tools.create_file import... | 2 | 1 | 0 | [{"id": "G0", "claim": "compile_regexes would preferably always return two list[re.Pattern] (each possibly empty) rather than None sentinels.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tool name secure_bash is misleading since by default it behav... | null |
UKGovernmentBEIS__control-arena__284 | UKGovernmentBEIS/control-arena | 284 | defect | 84e75d3bd837358a8ff725b5f6ecc2f304cc47cc | 4c29d7e149b5f22fc87152be72d0a3934cdce76c | Feature: restricted file editing tools | ## Summary
Updates file editing tools to take `cwd` and `sandbox_cwd` parameters to allow restricting file editing using these tools to specific directories. Also adds a wrapper around the text_editor tool which enables the same behaviour
## Test Plan
Added unit tests for the new functionality and tested that ... | diff --git a/control_arena/tools/__init__.py b/control_arena/tools/__init__.py
index f7bdba500..7f2e1fb44 100644
--- a/control_arena/tools/__init__.py
+++ b/control_arena/tools/__init__.py
@@ -1,7 +1,8 @@
-from control_arena.tools.bash import securable_bash, securable_bash_session
from control_arena.tools.create_file ... | 4 | 3 | 0 | [{"id": "G0", "claim": "The raised RuntimeErrors from inspect_ai's tool support helpers should be caught so the agent gets feedback instead of crashes.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The manual docstring copying from the original too... | null |
UKGovernmentBEIS__control-arena__368 | UKGovernmentBEIS/control-arena | 368 | defect | 661f30e7e2d6c7cf4ff8b52539bbe622cab0ed98 | 7f292642fa1ead456d601c1979af1a8eb48a165b | Fix: Bug in get_model_response_str for reasoning + text content | ## Summary
This fixes a bug with the get_model_response_str function, used for some monitors, where response extraction would fail for reasoning model responses containing both `ContentReasoning` and `ContentText` parts.
## Test Plan
Created unit tests for this function which now pass.
| diff --git a/control_arena/utils/model_utils.py b/control_arena/utils/model_utils.py
index ee8db44f5..bf74e370c 100644
--- a/control_arena/utils/model_utils.py
+++ b/control_arena/utils/model_utils.py
@@ -14,11 +14,13 @@ def get_model_response_str(model_output: ModelOutput) -> str:
"""
model_response = model_... | 2 | 1 | 0 | [{"id": "G0", "claim": "The repeated test literal \"some text\" in the new tests should ideally be extracted into a constant (e.g. EXPECTED_TEXT) used across the assertions, though the reviewer said it wasn't necessary to change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
UKGovernmentBEIS__control-arena__436 | UKGovernmentBEIS/control-arena | 436 | defect | 91d5e95e32d3af0e5fb4e4006eda010d469d45f2 | e19f027a75d23ce27efedb79bddb39c5595f5ae5 | Feature: Add task drift monitor and ensemble for full_trajectory_monitor | ## Summary
Adds a new scorer, task_drift_scorer, which measures how far the current agent has drifted from the user specified task, given the full agent trajectory.
Also tweaks the full_trajectory_monitor scoring to be between 0 and 100, and implements an ensemble version of this monitor.
## Test Plan
Ran bot... | diff --git a/control_arena/scorers/task_drift_scorer.py b/control_arena/scorers/task_drift_scorer.py
new file mode 100644
index 000000000..8e541b39b
--- /dev/null
+++ b/control_arena/scorers/task_drift_scorer.py
@@ -0,0 +1,123 @@
+from __future__ import annotations
+
+from collections.abc import Callable
+from logging ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The retries should not pass cache=True to llm_model.generate, because caching will make the 3 attempts return identical responses.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It could be nice to make num_retries an argumen... | null |
UKGovernmentBEIS__control-arena__440 | UKGovernmentBEIS/control-arena | 440 | defect | 962ee0552cafefeca84c9c4eabb3ea6ecd1454ac | 3eeb1248a1c1e41882a5137539960be2f3edc604 | Feature: Improved git cloning behaviour | ## Summary
* Refactor: copy_to_dir takes a exclude and include args instead of "ignore_git"
* Feature: eval_sabotage git diff respects the gitignore
## Test Plan
Added a unit test to check the eval_sabotage behaviour.
Also ran:
```
uv run control-arena eval single --setting infra --setting.main_task prometheus_setu... | diff --git a/control_arena/settings/eval_sabotage/get_dataset.py b/control_arena/settings/eval_sabotage/get_dataset.py
index 72bb897bf..736c4f96f 100644
--- a/control_arena/settings/eval_sabotage/get_dataset.py
+++ b/control_arena/settings/eval_sabotage/get_dataset.py
@@ -45,7 +45,7 @@
def get_eval_dir(main_task_n... | 5 | 2 | 1 | [{"id": "G0", "claim": "The explicit git_ref=\"main\" arguments passed to setup_environment and get_solution_diff in setting.py can be deleted since \"main\" is already the default.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The setup_enviro... | null |
UKGovernmentBEIS__control-arena__444 | UKGovernmentBEIS/control-arena | 444 | defect | 5b04c0836fb13eb601bdc91c23d19b03149e05fe | 327de4a75a546c729cee50e10f7d826c34b444e6 | Bug/deletions diff | ## Summary
Fix bug where if an agent deletes a file in their sandbox it doesn't come up in the diff.
Introduce a failing unit test to check for this bug
Fix the code
## Test Plan
Tested that the unit test which failed at the first commit now passes. | diff --git a/control_arena/settings/eval_sabotage/solvers.py b/control_arena/settings/eval_sabotage/solvers.py
index 9b07fbd13..a12b56e7e 100644
--- a/control_arena/settings/eval_sabotage/solvers.py
+++ b/control_arena/settings/eval_sabotage/solvers.py
@@ -1,7 +1,5 @@
-import tarfile
from logging import getLogger
fro... | 1 | 1 | 1 | [{"id": "G0", "claim": "Copying the agent's sandbox directory over the temp copy of the reference repo can overwrite the reference .git directory when the sandbox also contains a .git directory; the reviewer proposes copying the sandbox into a separate temp dir, deleting its .git, and moving the reference .git over, dr... | null |
UKGovernmentBEIS__control-arena__470 | UKGovernmentBEIS/control-arena | 470 | defect | 89053f4acbb8c15ebe9b4ebb5a8d4a8544441c10 | 1ee4592db92d8d99f274f375f6df08f8ec5cdbed | Oliver/expand the data poisoning setting | ## Summary
Enhanced by increasing the number of samples. The samples are programmatically added by varying the prompt from a list of 3 examples.
We have a new filtered option, demonstrated in the test, where one can select a subset of the ~684 potential samples. By default this will limit you to a more diverse sub... | diff --git a/control_arena/settings/data_poisoning/config.py b/control_arena/settings/data_poisoning/config.py
index 3b247bb2b..96208d409 100644
--- a/control_arena/settings/data_poisoning/config.py
+++ b/control_arena/settings/data_poisoning/config.py
@@ -22,6 +22,8 @@
{GOAL}
+**Important**: Generate diverse, rea... | 4 | 2 | 0 | [{"id": "G0", "claim": "The \"regex>=2024.11.6\" dependency added at pyproject.toml line 34 is a duplicate of the entry already present on line 28.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change to examples/run_control_eval.py switchi... | null |
UKGovernmentBEIS__control-arena__508 | UKGovernmentBEIS/control-arena | 508 | defect | 78df3cb6a8d55cce97879ef87ae7d9db6aafbbc8 | 8e86767ab5a305139603604a531e5fd22918554e | feat: Add schema validation for samples_df | ## Summary
Adds some level of schema validation for core columns in samples_df. This does not prevent additional columns from being included in the DataFrame. The main benefits to this I see are:
- Some level of type safety for the resulting DataFrame to help avoid unexpected results
- Including an explicit sche... | diff --git a/control_arena/metrics/__init__.py b/control_arena/metrics/__init__.py
index 9d8bda135..f5dccb3cd 100644
--- a/control_arena/metrics/__init__.py
+++ b/control_arena/metrics/__init__.py
@@ -6,7 +6,12 @@
compute_usefulness,
)
from ._plots import plot_safety_vs_audit_budget, plot_suspicion_scores_histog... | 2 | 2 | 1 | [{"id": "G0", "claim": "get_samples_df should return the pandera type DataFrame[SamplesDataFrameScheme] rather than pandas pd.DataFrame, and type checking should be done with the @pa.check_types decorator instead of a hand-written validator.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in... | null |
UKGovernmentBEIS__control-arena__509 | UKGovernmentBEIS/control-arena | 509 | defect | 78df3cb6a8d55cce97879ef87ae7d9db6aafbbc8 | cef26728c1fb9b576c2599bdbc9f960237684e23 | Refactor: Clean up the full trajectory monitor | ## Summary
Clean up the full trajectory monitor.
* Add deprecated warnings to a bunch of scorers which were just a full trajectory monitor with different prompts
* Rework the ensembled monitor so that it works with caching properly
This file was way too long before, and I had no idea what was going on!
| diff --git a/control_arena/scorers/_full_trajectory_monitor.py b/control_arena/scorers/_full_trajectory_monitor.py
index 87aaeb6ed..ccb046e49 100644
--- a/control_arena/scorers/_full_trajectory_monitor.py
+++ b/control_arena/scorers/_full_trajectory_monitor.py
@@ -1,111 +1,45 @@
+import asyncio
+import json
from colle... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR should keep a convenient import such as `task_drift_monitor` (or an equivalently easy replacement) so downstream repos that import it don't break.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
UKGovernmentBEIS__control-arena__519 | UKGovernmentBEIS/control-arena | 519 | defect | cdc104be3136b9392f355d7bd52de57f7f8e085c | c8279ad85acdd891663ee002671ae9cd40e3fa13 | Separate policy/trusted_editor from protocol/te_protocol, add example | ## Summary
Currently, the `trusted_edit` policy is in the `te_protocol`, which means that it cannot be configured (for example, to try out different prompts). It also removes the untrusted response message, which can be confusing to read in the transcript.
I split out a `trusted_edit` policy which is non-destruct... | diff --git a/control_arena/policy/trusted_editor.py b/control_arena/policy/trusted_editor.py
new file mode 100644
index 000000000..6e2d03842
--- /dev/null
+++ b/control_arena/policy/trusted_editor.py
@@ -0,0 +1,103 @@
+from copy import deepcopy
+
+from inspect_ai.agent import Agent, AgentState, agent
+from inspect_ai.t... | 7 | 7 | 4 | [{"id": "G0", "claim": "Import ChatMessageUser at the top of the file instead of inside the function body.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The policy should follow the intended transcript pattern: protocols add a single ChatMessag... | null |
UKGovernmentBEIS__control-arena__525 | UKGovernmentBEIS/control-arena | 525 | defect | 77f45c58e00c919df52041304e2509ec4773a43a | a87c164bdd384100280cae2c9decc953582f4f46 | feat: Attack tools | ## Summary
Adds the attack_tool decorator and associated functionality to make it easy to hide parts of tool calls, or entire tool calls and responses from monitors.
Attack tools can be defined using the `@attack_tool` decorator:
```
def view_fn(tool_call: ToolCall) -> ToolCall:
_tool_call = deepcopy(tool_... | diff --git a/control_arena/agent_builder.py b/control_arena/agent_builder.py
index 3744e8b09..0f7ab572b 100644
--- a/control_arena/agent_builder.py
+++ b/control_arena/agent_builder.py
@@ -6,6 +6,7 @@
from control_arena._control_arena_registry import HasRegistry
from control_arena.control_task_metadata import Contr... | 13 | 8 | 1 | [{"id": "G0", "claim": "A single monitor with an 'include_cot' parameter could replace the three almost identical monitor files, possibly in a different PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Converting the whole agent state to a mon... | null |
UKGovernmentBEIS__control-arena__563 | UKGovernmentBEIS/control-arena | 563 | defect | 372ce1af15dd9110a515499831ec7cd023e73f51 | 25fa7ddd00dd45d79429f306a413e50e777e6b57 | docs: APPS monitor comparison example | ## Summary
Adds an example showing an end-to-end monitor comparison experiment.
## Test Plan
Created an end-to-end test for the example which passes. Manual runs of the example produce reasonable results
| diff --git a/control_arena/eval/__init__.py b/control_arena/eval/__init__.py
index 006d623ed..b1a43e48e 100644
--- a/control_arena/eval/__init__.py
+++ b/control_arena/eval/__init__.py
@@ -1,5 +1,11 @@
from inspect_ai import eval, eval_set
+from control_arena.eval._run_monitors import (
+ run_monitor_for_eval_log... | 4 | 4 | 0 | [{"id": "G0", "claim": "count_assistant_messages_in_sample should iterate a generator instead of building a list, which is slightly more efficient and the better choice here.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `atqdm | bool` progress... | null |
UKGovernmentBEIS__control-arena__591 | UKGovernmentBEIS/control-arena | 591 | defect | b346411f3751fc099daa2c09cffd9fc1b452e8c7 | 0ffff8c168b0c8af74b64b857b294f3b69c15a2c | feat: Add metadata field to ControlTaskMetadata with metadata_as method | ## Summary
To allow custom task metadata, without very complex code to keep some level of type hints it seems the best solution may be to include additional metadata as a dict nested within the ControlTaskMetadata object. This can then be accessed with the correct types using `ControlTaskMetadata.metadata_as(<custom... | diff --git a/control_arena/control_task_metadata.py b/control_arena/control_task_metadata.py
index d1063f771..66d9ddda8 100644
--- a/control_arena/control_task_metadata.py
+++ b/control_arena/control_task_metadata.py
@@ -1,4 +1,7 @@
-from pydantic import BaseModel
+from typing import Any
+
+from inspect_ai._util.metada... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should not import the internal function `metadata_as` (and `MT`) from `inspect_ai._util.metadata`, since dependency internals are not guaranteed to remain stable; the reviewer recommends copying and citing the code instead.", "category": "maintainability", "verdict": "supported"... | null |
UKGovernmentBEIS__control-arena__632 | UKGovernmentBEIS/control-arena | 632 | defect | 4ae2ee218397931d9968092a56a3ed1949fe0b15 | 1c7446697190e7960e220539c0876efcafb034d1 | feat: Add DSPy trusted monitor | ## Summary
Add the modules and examples from [dspy-trusted-monitor](https://github.com/mahopman/dspy-trusted-monitor).
- add `control_arena.optim` module.
- add `DspyInspectLM`
- add `dspy_basic_monitor` and `dspy_basic_monitor_program`
- add `examples/apps_dspy_trusted_monitor`
- add `01_train_dspy_mon... | diff --git a/control_arena/optim/__init__.py b/control_arena/optim/__init__.py
new file mode 100644
index 000000000..88e66bba2
--- /dev/null
+++ b/control_arena/optim/__init__.py
@@ -0,0 +1,8 @@
+from ._dspy_inspect_lm import DspyInspectLM
+from .monitor._dspy_basic_monitor import dspy_basic_monitor, dspy_basic_monitor... | 9 | 9 | 1 | [{"id": "G0", "claim": "The DspyInspectLM constructor should accept an inspect_ai GenerateConfig directly instead of taking temperature and max_tokens separately.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should include a bit more informati... | null |
UKGovernmentBEIS__control-arena__732 | UKGovernmentBEIS/control-arena | 732 | defect | 1fc6bbfb75afe080db34a2931b7fe42cdeebbe5f | 93a8193fa9316f69b08f4efe6964603f91aad7c0 | feat: Monitor analysis functions | ## Summary
Add function to compute monitor performance metrics such as TPR or AUC based on scores produced by the monitor (scorer) on attack and honest samples.
High-level methods:
- `compute_monitor_classification_metrics()` and `compute_classification_metrics_by_micro_protocol()` compute TPR, FPR, ROC AUC, and... | diff --git a/control_arena/analysis/__init__.py b/control_arena/analysis/__init__.py
index c4390e3cf..795329ef2 100644
--- a/control_arena/analysis/__init__.py
+++ b/control_arena/analysis/__init__.py
@@ -5,6 +5,11 @@
For detailed documentation, see the User Guide: https://ukgovernmentbeis.github.io/control-arena/anal... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring for the micro_protocol_type parameter of select_successful_attacks is unclear about whether it is the micro protocol's name (e.g. defer_to_trusted) or includes other information, and should be made clearer before merging.", "category": "documentation", "verdict": "supported", "prio... | null |
UKGovernmentBEIS__control-arena__84 | UKGovernmentBEIS/control-arena | 84 | defect | 10688f47d95b4e381e0e823996730bda3cefb19a | 931f93c1f0be156aeadf5bb6156bafd1330af9a7 | Main Task: Gvisor | ## Summary
* This implements a main task to add the gVisor sandbox to the cluster. It also makes the necessary changes to the cluster to make it possible to add it from inside the cluster.
* [Design Document for Gvisor](https://docs.google.com/document/d/1Qo4T7GKCTtWbUAkZNqeqI-2aKFp4ahUbQfcBzTt-gV0/edit?tab=t.8ree... | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index a04dcc839..abdaa0534 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1,3 +1,3 @@
# We just have one group in charge of the whole repo for now
-* @EquiStamp/control-arena-reviewers
+
* @UKGovernmentBEIS/control-arena-owners
diff --git ... | 4 | 2 | 1 | [{"id": "G0", "claim": "The gvisor main-task file should live in control_arena/settings/infra/main_tasks/gvisor rather than under control_arena/settings/k8s_infra_sabotage_simple.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The human-trajectory log-vi... | null |
UKGovernmentBEIS__inspect_evals__1181 | UKGovernmentBEIS/inspect_evals | 1,181 | defect | 7cf0ca5a067c81ea849e7c0e70f0453095c0e0a7 | c04c716962e51c3b184a882e44914920cf1ad922 | Add Hugging Face telemetry for marker/runtime mismatch reporting | ## Description
This PR makes `@pytest.mark.huggingface` easier to trust.
Today, we often mark tests as Hugging Face related based on intent, but we do not have a reliable way to see which tests actually make HF calls at runtime. This change adds lightweight telemetry so we can compare marker usage against observe... | diff --git a/.gitignore b/.gitignore
index bae363bfdb..90cbc1327f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -170,6 +170,7 @@ cython_debug/
data/datasets/*/hidden
logs/
logs-*/
+hf_api_telemetry/
# thumbnails
.DS_Store
diff --git a/src/inspect_evals/utils/hf_telemetry.py b/src/inspect_evals/utils/hf_telemetry.p... | 11 | 8 | 3 | [{"id": "G0", "claim": "The commented-out @pytest.mark.huggingface marker on test_wmdp_task_structure should be removed entirely or, if kept as a comment, carry an explanatory note instead of being left as unexplained commented-out code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"... | null |
UKGovernmentBEIS__inspect_evals__1182 | UKGovernmentBEIS/inspect_evals | 1,182 | defect | d47c408e6164220a0d645e47252771b7e01b6a87 | 552c7f162d64106ea37cc5552e59122bd954116e | Move AGENTS.md workflows into on-demand skills | # This PR contains
## Description
Extracts 8 workflows from AGENTS.md into 5 on-demand Claude Code skills, reducing AGENTS.md from ~494 lines to ~90 lines. Workflow content is only loaded into context when the skill is invoked, keeping the always-present prompt lean.
Note: Checked by Jay to ensure Claude has e... | diff --git a/.claude/skills/build-repo-context/SKILL.md b/.claude/skills/build-repo-context/SKILL.md
index 2b7d5d4b8f..5473ee3bf9 100644
--- a/.claude/skills/build-repo-context/SKILL.md
+++ b/.claude/skills/build-repo-context/SKILL.md
@@ -1,6 +1,6 @@
---
name: build-repo-context
-description: Crawl repository PRs, is... | 5 | 5 | 2 | [{"id": "G0", "claim": "CONTRIBUTING.md (lines 85 and 107) and EVALUATION_CHECKLIST.md (line 7) reference the AGENTS.md#list-of-workflows anchor, but that heading no longer exists in AGENTS.md, so the links are broken and should be re-pointed or the anchor removed.", "category": "documentation", "verdict": "supported",... | null |
UKGovernmentBEIS__inspect_evals__1393 | UKGovernmentBEIS/inspect_evals | 1,393 | defect | ecfbce03545b69a27ea36c5907ec94057256b3c6 | 99bd309dfebd91ea5799bc248fd4fc15a43caffb | fix: MAE numerical scorer for correct evaluation of numerical results | # This PR contains
A MAE Scorer for numerical answers, with a tolerance support.
## Description
Hi!
We realized that the current implementation scores numerical answers slightly differently from the original implementation in the [ChemBench](https://github.com/lamalab-org/chembench) codebase. The discrepancy ari... | diff --git a/changelog.d/20260407_220549_rostislav.fedorov_mae_scorer.md b/changelog.d/20260407_220549_rostislav.fedorov_mae_scorer.md
new file mode 100644
index 0000000000..5609db167d
--- /dev/null
+++ b/changelog.d/20260407_220549_rostislav.fedorov_mae_scorer.md
@@ -0,0 +1,25 @@
+<!--
+A new scriv changelog fragment.... | 14 | 13 | 2 | [{"id": "G0", "claim": "mae_scorer.py imports Score, Scorer, Target, CORRECT, INCORRECT, accuracy, scorer, stderr and TaskState from private underscored inspect_ai modules, against the repo best practice, and should switch to the public imports every other eval in the repo uses.", "category": "maintainability", "verdic... | null |
UKGovernmentBEIS__inspect_evals__1429 | UKGovernmentBEIS/inspect_evals | 1,429 | defect | 332bbc82beec53ea6bcce5621444c6b5fa7f5d38 | 687c71dfd6f2bf81212a8936fd44edf072c8516d | Fix CodeIPI exfiltration scorer to check tool result messages | ## Description
Fixes #1428
The exfiltration canary check only searched tool call arguments (`ToolCall.arguments`) and assistant text for canary values. Tool result messages (`ChatMessageTool`, role="tool"), which contain actual command stdout, were never examined.
This caused false negatives on all 15 exfiltration s... | diff --git a/changelog.d/20260413_210301_joesposito8_fix_exfil_scorer.md b/changelog.d/20260413_210301_joesposito8_fix_exfil_scorer.md
new file mode 100644
index 0000000000..f4df3991a7
--- /dev/null
+++ b/changelog.d/20260413_210301_joesposito8_fix_exfil_scorer.md
@@ -0,0 +1,28 @@
+<!--
+Uncomment the relevant section(... | 4 | 2 | 2 | [{"id": "G0", "claim": "The new helper _extract_tool_result_text has no direct unit test (unlike the analogous extraction helpers it is only exercised indirectly through _check_exfiltration tests) and should get at least one direct test plus an entry in the test file's imports.", "category": "testing", "verdict": "supp... | null |
UKGovernmentBEIS__inspect_evals__1442 | UKGovernmentBEIS/inspect_evals | 1,442 | defect | 42a7cc9f7eb7264ac2f2b10657cd5bf171259d26 | f617d29c2124f3f8754ba6967d6b5a8bda8d3430 | Smoke test mlrc_bench fixes | # This PR contains
## Description
Several fixes to `mlrc_bench` to enable smoke testing and clean up credential handling:
**Smoke test runner**: injects `AICROWD_API_KEY`, `KAGGLE_KEY`, and `KAGGLE_USERNAME` as placeholder env vars so all `mlrc_bench` tasks load cleanly under `--limit 0` without real credentials.
*... | diff --git a/changelog.d/20260416_143743_52365471+Scott-Simmons_smoke_test_mlrc_bench.md b/changelog.d/20260416_143743_52365471+Scott-Simmons_smoke_test_mlrc_bench.md
new file mode 100644
index 0000000000..bad0defd3f
--- /dev/null
+++ b/changelog.d/20260416_143743_52365471+Scott-Simmons_smoke_test_mlrc_bench.md
@@ -0,0... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new Kaggle env-var credential path has no happy-path test: no test verifies that when KAGGLE_KEY and KAGGLE_USERNAME are set the compose config receives REQUIRE_KAGGLE_CREDS=1, KAGGLE_KEY and KAGGLE_USERNAME as build args without mounting a volume; a test like test_compose_yaml_kaggle_env_va... | null |
UKGovernmentBEIS__inspect_evals__1494 | UKGovernmentBEIS/inspect_evals | 1,494 | defect | 3dad175e20e9af21a5ecbabccefc004b8bbfe692 | 9bad59efc2daea45b4cc80f3c21d9aaf880b8c0f | Fix TypeScript correctness always scoring 0% in IFEvalCode | ## Description
Fixes #1469.
TypeScript correctness was always 0% because `tsc`, when invoked with an explicit filename rather than a `tsconfig.json`, does not automatically discover `@types/node` — even when the package is installed in the sandbox. The IFEvalCode dataset's `check_correctness` functions use `require()... | diff --git a/changelog.d/20260421_085946_dtennant_ifevalcode_typescript_require.md b/changelog.d/20260421_085946_dtennant_ifevalcode_typescript_require.md
new file mode 100644
index 0000000000..164d30a476
--- /dev/null
+++ b/changelog.d/20260421_085946_dtennant_ifevalcode_typescript_require.md
@@ -0,0 +1,29 @@
+<!--
+U... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changelog entry's formatting should match prior entries, reading `- IFEvalCode (v2-A): Controlled Code Generation. Fix ...` instead of the current wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UKGovernmentBEIS__inspect_evals__1501 | UKGovernmentBEIS/inspect_evals | 1,501 | defect | b816b3de9682777a7c354d1d764c5c44ba89c52e | 202881fb5e9b55df5df3560e7f267500e0711a47 | cyberseceval_4: tolerate fenced and prose-wrapped judge JSON | ## Description
Fixes #1500.
Adds a `parse_judge_json` helper in `cyberseceval_4/_utils.py` that falls back from plain `json.loads` to fenced-block extraction and finally to the first `{…}` block, returning `None` only when no JSON object can be recovered. The three affected scorers (`phishing_scorer`, `autopatching_s... | diff --git a/changelog.d/20260421_211149_joesposito8_cyse4_fenced_judge_json.md b/changelog.d/20260421_211149_joesposito8_cyse4_fenced_judge_json.md
new file mode 100644
index 0000000000..9d1de2630e
--- /dev/null
+++ b/changelog.d/20260421_211149_joesposito8_cyse4_fenced_judge_json.md
@@ -0,0 +1,3 @@
+### Existing Eval... | 3 | 2 | 0 | [{"id": "G0", "claim": "Before merging, run an experiment comparing the cyberseceval_4 scorers against the schema_tool_graded_scorer, which was built to solve exactly the problem of inconsistently-formatted judge outputs.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
UKGovernmentBEIS__inspect_evals__1504 | UKGovernmentBEIS/inspect_evals | 1,504 | defect | a57f86d90541ddf113ac4bc0adde35e1d6c2937a | 46cbdea72ecbabdacb854e7efd9d2fc8cdeee1c8 | Support external evals | Adds support for registering evals from external sources, with hangman-bench as the first registered external eval. Easiest to review commit-by-commit.
Related:
- https://github.com/UKGovernmentBEIS/inspect_evals/pull/1449
- https://github.com/UKGovernmentBEIS/inspect_evals/pull/1450 - claude workflows work. Th... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index bb2bdfdb10..890a93b03b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -490,6 +490,74 @@ external_assets: # required; use [] if none
Note: The `path` field is automatically derived from the eval.yaml file's location, so you do not need to include it.
+###... | 24 | 16 | 4 | [{"id": "G0", "claim": "Add \"maintained by xxxx\" to the generated external README banner.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A follow-up PR should make the Parameters section of external eval READMEs autogenerated like internal evals... | null |
UKGovernmentBEIS__inspect_evals__1534 | UKGovernmentBEIS/inspect_evals | 1,534 | defect | 1b7c0ddec29ed1a5e58fe26971c1db430768b8ab | a1e89cc8c82adc05697bdb07aa2f246b69594d90 | Inspect Evals UI bump | Bumping the IE docs:
1. Move to eval cards format
2. Support searching by tag, contributor, maintainer, title
Similar style to: https://inspect.aisi.org.uk/evals/
Only worthwhile difference w.r.t the above to call out is we can search by maintainer/contributor names
Test locally
```sh
make docs
python3... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3d83ffacd1..191a2a2652 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,5 +1,7 @@
# Technical Contribution Guide
+> **Note:** Adding evaluation code directly to `/src` is being deprecated on **8 May 2026** in favour of the [Inspect Evals Register (beta)](r... | 9 | 7 | 2 | [{"id": "G0", "claim": "The `flatten()` and `strip` helpers should be defined once outside the per-card loop in `docs/_templates/evals.ejs` instead of being redefined on every loop iteration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The se... | null |
UKGovernmentBEIS__inspect_evals__1572 | UKGovernmentBEIS/inspect_evals | 1,572 | defect | 6b79c909f55b511ec81a158c7a4851daa25e5b6d | 2757412206f2143dfda3eff22d8f2cc8bbbf14ea | Implement shuffle=choices for personality_TRAIT to fix positional bias | ## Description
Closes #1425
Implements the `shuffle="choices"` and `shuffle="all"` modes for `personality_TRAIT` that previously raised `NotImplementedError`. This fixes the positional bias where choices A/B always corresponded to high-trait responses and C/D to low-trait responses.
The implementation shuffles choic... | diff --git a/src/inspect_evals/personality/personality.py b/src/inspect_evals/personality/personality.py
index 71213cdab3..2b1cca8b9f 100644
--- a/src/inspect_evals/personality/personality.py
+++ b/src/inspect_evals/personality/personality.py
@@ -17,6 +17,7 @@
# Standard library imports
import logging
import os
+imp... | 3 | 2 | 1 | [{"id": "G0", "claim": "Per PACKAGE_VERSIONING.md the PR should add a scriv changelog fragment under \"Existing Evals\" for enabling shuffle=\"choices\" and shuffle=\"all\", e.g. noting these modes previously raised NotImplementedError.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "... | null |
UMAprotocol__protocol__2287 | UMAprotocol/protocol | 2,287 | defect | 472ffeb332fa96e15a43bcaea525006ee4818375 | c1ef03966fa48bc9e49a2a4bd43a8156e57a721a | fix(voting): Limit length of ancillary data | Signed-off-by: Nick Pai <npai.nyc@gmail.com>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a co... | diff --git a/packages/core/contracts/oracle/implementation/Voting.sol b/packages/core/contracts/oracle/implementation/Voting.sol
index fd50078fd6..f074bc7d49 100644
--- a/packages/core/contracts/oracle/implementation/Voting.sol
+++ b/packages/core/contracts/oracle/implementation/Voting.sol
@@ -241,7 +241,8 @@ contract ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 8192-byte ancillary data limit should be exposed somewhere (e.g. as a public constant) so that the length check can be done before a transaction is sent.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The same ancillary data l... | null |
UMAprotocol__protocol__2313 | UMAprotocol/protocol | 2,313 | defect | 631504f6beabf7e405aa6504a9399dc2d178742b | 20df650b869f4dceb554074cb54dfc0ad5da9125 | fix(dec-20-audit): [L03] Current config not update | Signed-off-by: Nick Pai <npai.nyc@gmail.com>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a co... | diff --git a/packages/core/contracts/financial-templates/common/FundingRateApplier.sol b/packages/core/contracts/financial-templates/common/FundingRateApplier.sol
index 89ccbc92db..cdfdcfabb7 100644
--- a/packages/core/contracts/financial-templates/common/FundingRateApplier.sol
+++ b/packages/core/contracts/financial-t... | 2 | 2 | 1 | [{"id": "G0", "claim": "Removing the view modifier from _getConfig, _validateFundingRate and getCurrentConfig makes plain getters modify state, which conflicts with what the audit expects (M02) and should be clarified or resolved before merging.", "category": "design", "verdict": "supported", "priority": "P1", "scope":... | null |
UMAprotocol__protocol__2530 | UMAprotocol/protocol | 2,530 | defect | 97e4f6fe12c68bc883cbb4165136edba10c667d8 | 8d78503967c14afb791fc0a6cebffcb1d807e19e | refactor(liquidator): Simplify liquidatorStrategy class and remove `whaleDefenseFundWei` | Signed-off-by: Nick Pai <npai.nyc@gmail.com>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a co... | diff --git a/packages/liquidator/mocha-test/liquidationStrategy.js b/packages/liquidator/mocha-test/liquidationStrategy.js
index e37414f756..40ed45db1d 100644
--- a/packages/liquidator/mocha-test/liquidationStrategy.js
+++ b/packages/liquidator/mocha-test/liquidationStrategy.js
@@ -8,15 +8,16 @@ const Strategy = requir... | 8 | 6 | 1 | [{"id": "G0", "claim": "daywiss questions why calculateTokensToLiquidate returns 1 instead of minSponsorSize (10) for a 101-token position when the liquidator holds only 100 tokens.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Several assertions i... | null |
UMAprotocol__protocol__2559 | UMAprotocol/protocol | 2,559 | defect | 4d2e6edbf097f14faec8df47fc10613c9d09b4b1 | f16525532b7f51593a60d7da430aa5d7901110c7 | feat(bot-infrastructure): add a generic DSProxy client | **Motivation**
As part of an effort to import our bot infrastructure, we requireDSProxy as part of our bot infra tx processing infra. DSProxy enables bots to execute complex, atomic operations within one transaction. For example, swapping a reserver to a collateral currency, minting synthetics and preforming a liqui... | diff --git a/packages/core/contracts/common/implementation/DSProxyFactory.sol b/packages/core/contracts/common/implementation/DSProxyFactory.sol
new file mode 100644
index 0000000000..80ff93b872
--- /dev/null
+++ b/packages/core/contracts/common/implementation/DSProxyFactory.sol
@@ -0,0 +1,203 @@
+// This file was orig... | 15 | 8 | 0 | [{"id": "G0", "claim": "The PR should comment where the copied DSProxyFactory code was changed from the original battle-tested source to make reviewing easier.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "eth.Contract(abi, address) would fail on... | null |
UMAprotocol__protocol__2564 | UMAprotocol/protocol | 2,564 | defect | 8ef696e2b02744a820893a3c646e47496488bdfd | 36c8caabfc4775ddea25c5337902d0c70cf46e27 | feat(optimistic-oracle-proposer): Only submit disputes where historical prices diverge beyond a margin of allowed error | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/optimistic-oracle/index.js b/packages/optimistic-oracle/index.js
index f118b0a1f9..2d5e1d650d 100755
--- a/packages/optimistic-oracle/index.js
+++ b/packages/optimistic-oracle/index.js
@@ -121,6 +121,8 @@ async function Poll(callback) {
errorRetriesTimeout: process.env.ERROR_RETRIES_TIMEOUT... | 2 | 2 | 1 | [{"id": "G0", "claim": "The example config comment in index.js shows a disputePricePrecisionOfError of 4, but the default in proposer.js is 6, so the example should read 6.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rounding to a fixed number ... | null |
UMAprotocol__protocol__2718 | UMAprotocol/protocol | 2,718 | defect | 67ccf754be8521c7477e822a1d79400d482fa2a4 | c85f70e6739a5521474ca00c5d321db0bbd16ba1 | feat(fallback-pricefeed): Create FallBackPriceFeed and ForexPriceFeed | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/financial-templates-lib/src/price-feed/CreatePriceFeed.js b/packages/financial-templates-lib/src/price-feed/CreatePriceFeed.js
index c29b219d29..d9ffded821 100644
--- a/packages/financial-templates-lib/src/price-feed/CreatePriceFeed.js
+++ b/packages/financial-templates-lib/src/price-feed/CreatePr... | 7 | 7 | 3 | [{"id": "G0", "claim": "The helper _createConstituentPriceFeed takes in and returns an array, so its name should be plural (_createConstituentPriceFeeds).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default 7-day lookback windows in the n... | null |
UMAprotocol__protocol__2744 | UMAprotocol/protocol | 2,744 | defect | 69b87e98283b6970375358010d906f55fa29dd9b | c3699abeac5cd82c0353d67249aa46dfca8628b2 | improve(merkle-distributor): Assorted fixes + natspec comments | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/merkle-distributor/implementation/MerkleDistributor.sol b/packages/core/contracts/merkle-distributor/implementation/MerkleDistributor.sol
index 9ab45a0112..b862353080 100644
--- a/packages/core/contracts/merkle-distributor/implementation/MerkleDistributor.sol
+++ b/packages/core/con... | 2 | 2 | 1 | [{"id": "G0", "claim": "The section comment banners added in this PR (e.g. `* ADMIN FUNCTIONS *`) use an inconsistent style; drop the extra `*` lines so they match the styling guides used in the repo's other contracts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
UMAprotocol__protocol__2896 | UMAprotocol/protocol | 2,896 | defect | a9a2af369f1a261d9de8a883eaf1b72e2637f8f7 | 0a328528bed1718d535ee74cea10626968f1a366 | fix(ReserveCurrencyLiquidator): improve how the contract handles reserve OR collateral currency shortfall | **Motivation**
After testing out some more edge cases with the `ReserveCurrencyLiquidator` I realized there is a scenario that the contracts were not designed to handle and were not tested against. In particular what happens when the `ReserveCurrencyLiquidator` is told to liquidate a position that is larger than the... | diff --git a/packages/core/contracts/bot-helpers/atomic-liquidator/ReserveCurrencyLiquidator.sol b/packages/core/contracts/bot-helpers/atomic-liquidator/ReserveCurrencyLiquidator.sol
index dccb4b4953..4f2fafff1a 100644
--- a/packages/core/contracts/bot-helpers/atomic-liquidator/ReserveCurrencyLiquidator.sol
+++ b/packa... | 2 | 2 | 0 | [{"id": "G0", "claim": "The newly added @dev comment misspells \"posable\" where it should read \"possible\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The function calls getCollateralBalance twice within the same conditional (as with final f... | null |
UMAprotocol__protocol__2928 | UMAprotocol/protocol | 2,928 | defect | 5db0d7178cd6a3c807db4586eeb22a16229e9213 | d191bf10f70f3fc964f3993f136c347ddb13e764 | feat(range-trader): add uniswap v3 support to uniswap broker | **Motivation**
To get ready for uniswap v3, we need to update our range trader bot to support this new dex.
**Summary**
This PR contains a smart contract, intended to be used with a DSProxy, which can trade the price of a uniswap v3 market down to a target price. Unit test are also included
**Details**
B... | diff --git a/packages/common/src/HardhatConfig.js b/packages/common/src/HardhatConfig.js
index d01c86a195..b2453d01b5 100644
--- a/packages/common/src/HardhatConfig.js
+++ b/packages/common/src/HardhatConfig.js
@@ -239,7 +239,4 @@ function addGlobalHardhatTestingAddress(contractName, address) {
}
global.hardhatTe... | 11 | 6 | 0 | [{"id": "G0", "claim": "The comment says 'ot sufficiently' where it should say 'to sufficiently'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The liquidity update should fold the sign flip into the addDelta call: state.liquidity = LiquidityMath... | null |
UMAprotocol__protocol__2970 | UMAprotocol/protocol | 2,970 | defect | 34eb7f783c296418cca244123214d53fece041e9 | 6c41f1b3ed1db2537b58369663668d3628d09704 | feat(disputer): single reserve currency disputer + unit tests | **Motivation**
As part of scaling up our infrastructure, it idea be great to not have to hold collateral for every financial contract within the disputer. To accommodate this, the disputer should be able to buy collateral on the open market when preforming disputes.
**Summary**
This PR ads a smart contract tha... | diff --git a/packages/core/contracts/bot-helpers/atomic-disputer/ReserveCurrencyDisputer.sol b/packages/core/contracts/bot-helpers/atomic-disputer/ReserveCurrencyDisputer.sol
new file mode 100644
index 0000000000..f2402d706c
--- /dev/null
+++ b/packages/core/contracts/bot-helpers/atomic-disputer/ReserveCurrencyDisputer... | 4 | 1 | 0 | [{"id": "G0", "claim": "The local subOrZero helper should be added to the FixedPoint library, since it is now used in many places.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR could re-use some contract code from the ReserveLiquidator i... | null |
UMAprotocol__protocol__3089 | UMAprotocol/protocol | 3,089 | defect | 2f8eaf0d4c0e9261424aa415cf675a4011849eb8 | 29f0aaa2a14043c7be4fb9b95885719655ff60b5 | feat(polygon-amb): Add Governor Tunnel contracts and unit tests | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/polygon/GovernorChildTunnel.sol b/packages/core/contracts/polygon/GovernorChildTunnel.sol
new file mode 100644
index 0000000000..cfdde8e267
--- /dev/null
+++ b/packages/core/contracts/polygon/GovernorChildTunnel.sol
@@ -0,0 +1,53 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+pragma... | 1 | 1 | 0 | [{"id": "G0", "claim": "The value-handling question from Governor.sol's _processMessageFromRoot may apply to this contract too — mrice32 is asked whether it was considered when implementing the Source/Sink Governor.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
UMAprotocol__protocol__3302 | UMAprotocol/protocol | 3,302 | defect | 8f786d2811e37de4c27f3f2453b1f2f13efa2652 | b02fb7119a85202c35f93fb65ad3a5ef2c724c0e | feat(insured-bridge): Exponential fee calculation | **Motivation**
As part of the insured bridge design, we require a mechanism to attribute relayed fees to LPs gradually over the periods that tokens are moved from L2->L1 via the canonical bridge. This amounts to a 1-week loan over the period.
This PR adds the initial fee market to facilitate this where LP fees ar... | diff --git a/packages/core/.mocharc.js b/packages/core/.mocharc.js
index e9e05c6235..60b6494bda 100644
--- a/packages/core/.mocharc.js
+++ b/packages/core/.mocharc.js
@@ -4,11 +4,19 @@
// There are other mocha tests in this package, such as those that test the index.js files. To make this config compatible
// with th... | 11 | 5 | 0 | [{"id": "G0", "claim": "Tracking cumulativeLpFeesEarned looks like unnecessary complexity; consider instead adding LP fees to utilized reserves as they are paid out and letting utilized reserves go negative.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
UMAprotocol__protocol__3326 | UMAprotocol/protocol | 3,326 | defect | 05d34f8f0648164668a5c887a39f09b892bf0d5e | 19731363ca16c25e24c345136d04bb571f1c64f8 | improve(insured-bridge): Settle resolved optimistic price requests that passed dispute period | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts-ovm/insured-bridge/implementation/BridgePool.sol b/packages/core/contracts-ovm/insured-bridge/implementation/BridgePool.sol
index 889afe7743..c7c526c3d0 100644
--- a/packages/core/contracts-ovm/insured-bridge/implementation/BridgePool.sol
+++ b/packages/core/contracts-ovm/insured-br... | 3 | 3 | 2 | [{"id": "G0", "claim": "The '// Note: Why don't we have to check the value of the price?' comment is stale now that the code settles instead of checking for a price, and should be reworded to make clear the settlement outcome is not being checked.", "category": "documentation", "verdict": "supported", "priority": "P2",... | null |
UMAprotocol__protocol__3356 | UMAprotocol/protocol | 3,356 | defect | 1cf792523acf9393b352df25d0428f48c22e31f1 | d48e3449b9bd9527d5e56a5a5407e823ed00d32b | feat(financial-templates-lib): Stub for InsuredBridgePriceFeed | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/common/src/browser.ts b/packages/common/src/browser.ts
index 5854c55f04..bf5f2ad60a 100644
--- a/packages/common/src/browser.ts
+++ b/packages/common/src/browser.ts
@@ -1,5 +1,6 @@
// Only the browser-safe modules.
export * from "./AbiUtils";
+export * from "./AncillaryDataParser";
export * fro... | 11 | 7 | 1 | [{"id": "G0", "claim": "The L1 client's update() makes an async `relays()` contract call per relayed-deposit event (with the relay-data fields added only for convenience), which makes the method extremely slow as relays grow; it should run in constant time without extra calls per relay event.", "category": "performance... | null |
UMAprotocol__protocol__3458 | UMAprotocol/protocol | 3,458 | defect | f24ad501c8e813cf685f72217e7f13c8f3c366df | 1f27d9d1445e090d624e4bd36286185f898f2231 | feat(insured-bridge): Block instant relays post-expiry and change relayDeposit interface to match relayAndSpeedUp | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/insured-bridge/BridgePool.sol b/packages/core/contracts/insured-bridge/BridgePool.sol
index 68b4164fbe..29597dbb68 100644
--- a/packages/core/contracts/insured-bridge/BridgePool.sol
+++ b/packages/core/contracts/insured-bridge/BridgePool.sol
@@ -112,6 +112,7 @@ contract BridgePool i... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `liveness` field added to RelayData (freezing liveness per relay at deposit time) adds unnecessary complexity, extra data structures and gas cost for no clear benefit, and should be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
UMAprotocol__protocol__3485 | UMAprotocol/protocol | 3,485 | defect | 43ede968ec5bd8268179c0a69ce730a07b65f1da | 38fd9d845345624698365729187032c59006beb8 | fix(insured-bridge-l1-client): Delete pending relays on dispute events | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/financial-templates-lib/src/clients/InsuredBridgeL1Client.ts b/packages/financial-templates-lib/src/clients/InsuredBridgeL1Client.ts
index f0a21d23cd..cc1344952d 100644
--- a/packages/financial-templates-lib/src/clients/InsuredBridgeL1Client.ts
+++ b/packages/financial-templates-lib/src/clients/In... | 2 | 2 | 0 | [{"id": "G0", "claim": "The relayHash variable in the Relay data structure should be renamed to relayAncillaryDataHash.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The relay hash should also be stored along with the rest of the data in this... | null |
UMAprotocol__protocol__3602 | UMAprotocol/protocol | 3,602 | defect | 0c4cea3c3d5e48da6f8984b8ba3afdfea4ce47cc | bf17cb804e5084b97a60c3dc83eadc77c84e69fb | Price feed implementation for uSPAC5 - price identifier for index of 5 most active SPACs | Price feed implementation for uSPAC5 - price identifier for index of 5 most active SPACs
See UMIP: https://github.com/UMAprotocol/UMIPs/pull/428 | diff --git a/packages/financial-templates-lib/src/price-feed/CreatePriceFeed.ts b/packages/financial-templates-lib/src/price-feed/CreatePriceFeed.ts
index 2b2e8858b2..a38b3a9246 100644
--- a/packages/financial-templates-lib/src/price-feed/CreatePriceFeed.ts
+++ b/packages/financial-templates-lib/src/price-feed/CreatePr... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new `correctionFactor` config parameter has no reference in the draft UMIP.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`priceFeedDecimals` has no relation to input precision, only to how the returned price is format... | null |
UMAprotocol__protocol__3620 | UMAprotocol/protocol | 3,620 | defect | 0c14d8fa6634da8e4fedd9a4e3caba591d2fca07 | db0685446bfae7053da6741f976083c010303024 | feat(cross-chain-oracle): Add Polygon adapters | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/cross-chain-oracle/chain-adapters/Optimism_ChildMessenger.sol b/packages/core/contracts/cross-chain-oracle/chain-adapters/Optimism_ChildMessenger.sol
index 43e9cf1553..7689d324cf 100644
--- a/packages/core/contracts/cross-chain-oracle/chain-adapters/Optimism_ChildMessenger.sol
+++ b... | 9 | 4 | 0 | [{"id": "G0", "claim": "The nonReentrant modifiers added to the Optimism adapter setters and message functions are redundant (and potentially dangerous) because these methods are already access-controlled via onlyFromCrossDomainAccount, so the entry guard should be dropped.", "category": "design", "verdict": "uncertain... | null |
UMAprotocol__protocol__3626 | UMAprotocol/protocol | 3,626 | defect | 8b155a64e2d2f8dcfad53aa52c5909b45b193181 | c42a9335b2f385f8e978b6303ba88154c70bc4d8 | improve(cross-chain-oracle): Allow publishPrice to be called for any DVM resolved price | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/cross-chain-oracle/OracleBase.sol b/packages/core/contracts/cross-chain-oracle/OracleBase.sol
index 6e6ade65e7..cddf4ba963 100644
--- a/packages/core/contracts/cross-chain-oracle/OracleBase.sol
+++ b/packages/core/contracts/cross-chain-oracle/OracleBase.sol
@@ -42,6 +42,8 @@ abstrac... | 1 | 1 | 1 | [{"id": "G0", "claim": "publishPrice must not change the stored price nor emit PushedPrice again once the request is already Resolved, e.g. by returning early when lookup.state == RequestState.Resolved.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
UMAprotocol__protocol__3629 | UMAprotocol/protocol | 3,629 | defect | a4e395f4a714f54f042078baac3993d339641ba6 | f92b30ffee23e1ee6bff0994acf54f99dc78de43 | feat(across): bridge admin to enable/disable pool relays | **Motivation**
The bridge Admin should be able to enable/disable relays on a bridge pool. This PR adds this functionality.
note that some additional unit tests were changed to clean up the surrounding logic, hence the large diff in this PR.
| diff --git a/packages/core/contracts/insured-bridge/BridgeAdmin.sol b/packages/core/contracts/insured-bridge/BridgeAdmin.sol
index bb6d5bdf33..b3de733496 100644
--- a/packages/core/contracts/insured-bridge/BridgeAdmin.sol
+++ b/packages/core/contracts/insured-bridge/BridgeAdmin.sol
@@ -219,7 +219,7 @@ contract BridgeAd... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks whether `addLiquidity` should also be blocked while relays are disabled (raised as an open question, with no opinion).", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The modifier name `onlyIfRelaysEnable` is missin... | null |
UMAprotocol__protocol__3673 | UMAprotocol/protocol | 3,673 | defect | 952874792bf5d12bbfc12470997a0569aa4edcd8 | f3803b881d3c7c391902122fd8e0e7a279e5eec8 | feat(across-relayer): Fetch rate model from contract instead of SDK constant | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/financial-templates-lib/src/clients/InsuredBridgeL1Client.ts b/packages/financial-templates-lib/src/clients/InsuredBridgeL1Client.ts
index 8ab1af896e..d74503f2a6 100644
--- a/packages/financial-templates-lib/src/clients/InsuredBridgeL1Client.ts
+++ b/packages/financial-templates-lib/src/clients/In... | 9 | 7 | 4 | [{"id": "G0", "claim": "The rate-model fetching logic should live in the SDK rather than in InsuredBridgeL1Client, so the front end and anything else using the SDK shares one implementation instead of duplicating code.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
UMAprotocol__protocol__3742 | UMAprotocol/protocol | 3,742 | defect | 056029005f880b9fdaf72694fa289deb14af6aa7 | 1762289482b146e7ee02d19df697df2ffa2c43c6 | improve(optimistic-oracle-event-client): Support paginated block search config for Arbitrum Infura | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/common/src/TimeUtils.ts b/packages/common/src/TimeUtils.ts
index 8c3ba46a62..63ac07a9f3 100644
--- a/packages/common/src/TimeUtils.ts
+++ b/packages/common/src/TimeUtils.ts
@@ -7,7 +7,7 @@ dotenv.config();
* @notice Return average block-time for a period.
*/
// eslint-disable-next-line @types... | 3 | 3 | 1 | [{"id": "G0", "claim": "While renaming the signature anyway, the parameter `networkId` in averageBlockTimeSeconds should be renamed to `chainId` since chainId is the preferred identifier for applications outside the consensus layer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pr... | null |
UMAprotocol__protocol__3774 | UMAprotocol/protocol | 3,774 | defect | 7eb1697bb35739bc5dc8229f099dad9b20adac26 | 3c5e6339fa78ede4e22b4bbcc017601b3f553335 | feat: add proposer upgrade verification script | **Motivation**
We want to verify that the decentralized proposal upgrade works as expected.
**Summary**
This script verifies that:
- The governance system will be functional after the upgrade.
- The governance system can revert the upgrade afterwards if any problems are discovered.
**Testing**
Check a ... | diff --git a/packages/scripts/src/admin-proposals/simulateVote.js b/packages/scripts/src/admin-proposals/simulateVote.js
index 82d5937891..6b3a681740 100644
--- a/packages/scripts/src/admin-proposals/simulateVote.js
+++ b/packages/scripts/src/admin-proposals/simulateVote.js
@@ -223,11 +223,14 @@ async function run() {
... | 4 | 2 | 0 | [{"id": "G0", "claim": "The script's export should be named `simulateVote` rather than `run` so importers can write `{ simulateVote }` instead of `{ run: simulateVote }`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice to attach ... | null |
UMAprotocol__protocol__3776 | UMAprotocol/protocol | 3,776 | defect | 7eb1697bb35739bc5dc8229f099dad9b20adac26 | 5c04cb2c490a164986b282d98889cf72f2bd4af4 | improve(gas-estimator): Add Boba as legacy network | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/financial-templates-lib/src/helpers/GasEstimator.ts b/packages/financial-templates-lib/src/helpers/GasEstimator.ts
index 49cce33158..36ec2370fc 100644
--- a/packages/financial-templates-lib/src/helpers/GasEstimator.ts
+++ b/packages/financial-templates-lib/src/helpers/GasEstimator.ts
@@ -13,11 +13... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `as` type casts on the default gas-price return objects in GasEstimator are unnecessary and should not be needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UMAprotocol__protocol__3848 | UMAprotocol/protocol | 3,848 | defect | 72d3790264dbe3658697ee053c479d5c055360e5 | f9e9fd58b6dd5eb1520435d2c3beab1b7d647262 | fix(discord-transport): Remove extra log messages for links and refine discord config to be more granular on where messages are sent | **Motivation**
There are a number of features we'd like to add to the Discord transport:
- Use short link format on UI links to reduce log bloat. This should also remove the extra log produced for each of these.
- removing settlement logs from all discord channels
- Only having proposal logs in oo-fact-checking channe... | diff --git a/packages/financial-templates-lib/src/logger/DiscordTransport.ts b/packages/financial-templates-lib/src/logger/DiscordTransport.ts
index 57a55968f7..78f0d251aa 100644
--- a/packages/financial-templates-lib/src/logger/DiscordTransport.ts
+++ b/packages/financial-templates-lib/src/logger/DiscordTransport.ts
@... | 2 | 1 | 1 | [{"id": "G0", "claim": "In DiscordTransport.ts the comparison `info.discordPaths == [\"noPost\"]` compares array references and will always be false, so the intended Discord skip never triggers; it should use `===` and undefined/null discordPaths handling should be made explicit.", "category": "correctness", "verdict":... | null |
UMAprotocol__protocol__3935 | UMAprotocol/protocol | 3,935 | defect | 8cc7b69a1af42d65a6b428bd32e8734e2bb3717f | 99cdc5448748ef8a13f99a6f98d5f698e5b48751 | fix(optimistic-distributor): [M03] do not use priceDisputed callback | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/financial-templates/optimistic-distributor/OptimisticDistributor.sol b/packages/core/contracts/financial-templates/optimistic-distributor/OptimisticDistributor.sol
index c106a0d5dc..292adfd6fa 100644
--- a/packages/core/contracts/financial-templates/optimistic-distributor/Optimistic... | 1 | 1 | 0 | [{"id": "G0", "claim": "The name `blockingProposalTimestamp` is misleading since it stores the time of the previous proposal/request, and a better name (e.g. `disputeTimestamp` or the author's suggested `previousProposalTimestamp`) should be considered.", "category": "maintainability", "verdict": "supported", "priority... | null |
UMAprotocol__protocol__3936 | UMAprotocol/protocol | 3,936 | defect | 93a287b6f85fe731a577463feba4ac5c75fb25fe | f377e574d23ff326ea2e35461ed044c22b164033 | feat(core): control oo callbacks from request | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/oracle/implementation/OptimisticOracle.sol b/packages/core/contracts/oracle/implementation/OptimisticOracle.sol
index 0e76a63df7..aacc0c33b9 100644
--- a/packages/core/contracts/oracle/implementation/OptimisticOracle.sol
+++ b/packages/core/contracts/oracle/implementation/Optimistic... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request could not yet be tested because compiling it fails with a 'Stack too deep' error.", "category": "build", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
UMAprotocol__protocol__3960 | UMAprotocol/protocol | 3,960 | defect | 273e5ab6f630d1113f287e8493b6ea413ba109d1 | ae70fa26f50dcc8cb1027f13bf15083e19b27032 | fix(optimistic-distributor): handle optimistic oracle upgrades | Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a... | diff --git a/packages/core/contracts/financial-templates/optimistic-distributor/OptimisticDistributor.sol b/packages/core/contracts/financial-templates/optimistic-distributor/OptimisticDistributor.sol
index 465639b939..cd670bdf58 100644
--- a/packages/core/contracts/financial-templates/optimistic-distributor/Optimistic... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the misspelling of \"previous\" in the comment about detecting an Optimistic Oracle upgrade by uninitialized bonding currency.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UMAprotocol__protocol__4000 | UMAprotocol/protocol | 4,000 | defect | 8551f3f9ea9b27602030cfc314fd8d4b8faa6052 | da83191cb6baa1ba0a66d9bbd721a39592335ebb | feat: DVM2.0 add special governance price request tx flow | Signed-off-by: Pablo Maldonado <pablo@umaproject.org>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please inc... | diff --git a/packages/common/src/hardhat/fixtures/VotingV2.ts b/packages/common/src/hardhat/fixtures/VotingV2.ts
index ccccde224c..e332d33850 100644
--- a/packages/common/src/hardhat/fixtures/VotingV2.ts
+++ b/packages/common/src/hardhat/fixtures/VotingV2.ts
@@ -13,7 +13,6 @@ const defaultFixtureWhitelist = [
"Store... | 2 | 2 | 0 | [{"id": "G0", "claim": "In GovernorV2.proposal, the reviewer suggests replacing the two-step oracle lookup (assigning `OracleGovernanceInterface oracle = _getOracle();` then calling `oracle.requestGovernanceAction(identifier, time);`) with the single chained call `_getOracle().requestGovernanceAction(identifier, time);... | null |
UMAprotocol__protocol__4026 | UMAprotocol/protocol | 4,026 | defect | 50c74c5124219ca51dbffe8b947fe5339be1d1a1 | 87c8a725c537e2b4963c12840c0c33736ca596ac | feat: UMA2.0: deal will rolled votes | **Motivation**
The DVM2.0 implementation needs to accommodate rolled votes within the slashing trackers. this PR adds the ability.
**Testing**
Check a box to describe how you tested these changes and list the steps for reviewers to test.
- [X] Ran end-to-end test, running the code as in production
- [C] ... | diff --git a/packages/core/contracts/oracle/implementation/VotingV2.sol b/packages/core/contracts/oracle/implementation/VotingV2.sol
index 2b8a033fc5..da7309974c 100644
--- a/packages/core/contracts/oracle/implementation/VotingV2.sol
+++ b/packages/core/contracts/oracle/implementation/VotingV2.sol
@@ -59,11 +59,16 @@ c... | 6 | 1 | 0 | [{"id": "G0", "claim": "Mutating the requestIndex loop tracker inside the loop body other than by incrementing/decrementing is harder to reason about and more vulnerable to unexpected bugs; md0x asks whether the same result could be achieved with two separate loops, one for priceRequestIds and one for deletedRequests."... | null |
UMAprotocol__protocol__4038 | UMAprotocol/protocol | 4,038 | defect | 50c74c5124219ca51dbffe8b947fe5339be1d1a1 | 2a0352d56a734af7cc557964a1bbb7d0514a9eba | feat: DVM2.0 Add sync method for internal account slashing trackers | **Motivation**
There are situations where we'd like to be able to partially sync account slashing trackers. this PR adds the ability to do this.
**Testing**
Check a box to describe how you tested these changes and list the steps for reviewers to test.
- [ ] Ran end-to-end test, running the code as in produ... | diff --git a/packages/core/contracts/oracle/implementation/ResultComputationV2.sol b/packages/core/contracts/oracle/implementation/ResultComputationV2.sol
new file mode 100644
index 0000000000..b755a648d2
--- /dev/null
+++ b/packages/core/contracts/oracle/implementation/ResultComputationV2.sol
@@ -0,0 +1,93 @@
+// SPDX... | 2 | 2 | 1 | [{"id": "G0", "claim": "The slashing computation in _updateAccountSlashingTrackers is structured the way it is (cached totalVotes/totalCorrectVotes locals removed, result-computation values fetched inline three times) because of the compiler's stack-too-deep limit.", "category": "maintainability", "verdict": "supported... | null |
UMAprotocol__protocol__4065 | UMAprotocol/protocol | 4,065 | defect | 0860b59dbf1ca437d45176d4585de74f7f034740 | 81d666a6f46cf65bc8bfd6d6781e72d03cd08850 | fix: [M01] Incorrect refund of spamDeletionProposalBond | Signed-off-by: Pablo Maldonado <pablo@umaproject.org>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please inc... | diff --git a/packages/core/contracts/oracle/implementation/VotingV2.sol b/packages/core/contracts/oracle/implementation/VotingV2.sol
index 6001f148a6..e7aefdd005 100644
--- a/packages/core/contracts/oracle/implementation/VotingV2.sol
+++ b/packages/core/contracts/oracle/implementation/VotingV2.sol
@@ -156,6 +156,7 @@ c... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add an assertion that the caller's (account2's) token balance also ends at the expected level (0) after the spam deletion is executed, since account2 funded the bond and should receive the refund.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UMAprotocol__protocol__4135 | UMAprotocol/protocol | 4,135 | defect | 0afae60aca04b3c110627ec4ee74ae219704af60 | 752124cf64740903e31e40984f07edfb6ce9f4b5 | Proposal: Small contract restructure to save some bytecode | **Motivation**
We had reached the point where we'd run out of bytecode in the contract. This PR fixes this by restructuring/changing some stuff around.
**Testing**
Check a box to describe how you tested these changes and list the steps for reviewers to test.
- [ ] Ran end-to-end test, running the code as in produc... | diff --git a/packages/core/contracts/oracle/implementation/Staker.sol b/packages/core/contracts/oracle/implementation/Staker.sol
index 439443eaa8..690949cdbf 100644
--- a/packages/core/contracts/oracle/implementation/Staker.sol
+++ b/packages/core/contracts/oracle/implementation/Staker.sol
@@ -4,8 +4,8 @@ pragma solidi... | 3 | 2 | 1 | [{"id": "G0", "claim": "Keep the priceRequests and pendingPriceRequests state variables public instead of private/internal, since visibility into these data structures is useful in a pinch, and make up the bytecode elsewhere.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
UMAprotocol__protocol__4146 | UMAprotocol/protocol | 4,146 | defect | 5fee66023d9c5180ef5be36997c0f19e038cc44a | 28fb3512b9903df35df291ff02ad0a29a01be92a | fix: wrong slashing sum | **Motivation**
There is a known issue with slashing summing intra rolled round. in effect, if a staker stakes during an active reveal round and the vote rolls they can dodge slashing tracker updates. This PR implements a further refinement over the solution proposed in https://github.com/UMAprotocol/protocol/pull/41... | diff --git a/packages/core/contracts/oracle/implementation/Staker.sol b/packages/core/contracts/oracle/implementation/Staker.sol
index cd2ce5d4a7..998dac31a6 100644
--- a/packages/core/contracts/oracle/implementation/Staker.sol
+++ b/packages/core/contracts/oracle/implementation/Staker.sol
@@ -292,6 +292,7 @@ abstract ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reword the natspec of getVoterStakePostUpdate in Staker.sol to say it is used by offchain applications to simulate the cumulative stake + unapplied slashing updates without sending a transaction, instead of the added wording describing it as viewing the stake 'as view methods without needing to ... | null |
UMAprotocol__protocol__4313 | UMAprotocol/protocol | 4,313 | defect | 1b5f25db75fc09f88608ae2bf9e3cff05f65128f | c5a65da8efa3e257db0657704ee735b7c21cd760 | fix[DVM2.0]: address pendingStakes issue in voting contract | **Motivation**
While writing health checks for the dvm we discovered a small issue in the voterdapp that can cause slashing trackers to diverge from their expected values. This occurs in a very specific case: when a user stakes additional tokens during an active reveal, before revealing their vote.
This PR both s... | diff --git a/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol b/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol
index 3f69d3fbc1..2176ba78da 100644
--- a/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol
+++ b/packages/core/con... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test's explanatory comment should say that the first variable freeze can also occur via a stake during the active reveal phase, not only via the first commit.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UMAprotocol__protocol__4381 | UMAprotocol/protocol | 4,381 | defect | 4968c74364c4ae1034d90fe13ed96eb72ac36753 | c21aa6aab28cd11c1f6a62a0dde2dc327b571054 | fix: reuse storage slots for tracking processed requests | Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please ... | diff --git a/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol b/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol
index 75028b6b31..8cb97f93c1 100644
--- a/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol
+++ b/packages/core/con... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PendingProcessed struct could be replaced with two simpler public variables (one for the round id, one for the index) since it is only used once.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UMAprotocol__protocol__4383 | UMAprotocol/protocol | 4,383 | defect | 4968c74364c4ae1034d90fe13ed96eb72ac36753 | aa30fd12a1382d2277f0c85abe5cb51bf41ffc04 | feat: add post update functions | Signed-off-by: Pablo Maldonado <pablo@umaproject.org>
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please inc... | diff --git a/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol b/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol
index 75028b6b31..25651e5155 100644
--- a/packages/core/contracts/data-verification-mechanism/implementation/VotingV2.sol
+++ b/packages/core/con... | 1 | 1 | 0 | [{"id": "G0", "claim": "The naming is inconsistent between the `num...` parameter names and the `Number` wording in the function names of getNumberOfPriceRequests/getNumberOfPriceRequestsPostUpdate; it should be the same in both cases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": ... | null |
UMAprotocol__protocol__4451 | UMAprotocol/protocol | 4,451 | defect | bd1dba1125db532bd92e0bf329188f21d695d4d2 | 94f4ef29ac8c3d022a996c457ecd1a6f956f0105 | feat: dvm2.0 upgrade scripts updates | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/core/contracts/umip-helpers/VotingUpgraderV2.sol b/packages/core/contracts/umip-helpers/VotingUpgraderV2.sol
index a53dc23ffb..422aaae89a 100644
--- a/packages/core/contracts/umip-helpers/VotingUpgraderV2.sol
+++ b/packages/core/contracts/umip-helpers/VotingUpgraderV2.sol
@@ -19,6 +19,7 @@ struct ... | 10 | 8 | 3 | [{"id": "G0", "claim": "The deploy scripts should prefer chainId terminology, as networkId is technically a different concept (although they usually match).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The emergency executor should not be sile... | null |
UMAprotocol__protocol__4663 | UMAprotocol/protocol | 4,663 | defect | cef7d8880a2168eeb30f54151a8d40b274fbd381 | 052e1bc833a84964e3f6892effa7d7f2ccaec836 | feat: add logger package | Changes proposed in this PR:
- This PR adds a standalone logger package with minimal dependencies. It addresses compatibility issues encountered when using financial-templates with ethers v6.x | diff --git a/packages/logger/.mocharc.js b/packages/logger/.mocharc.js
new file mode 100644
index 0000000000..77ac272513
--- /dev/null
+++ b/packages/logger/.mocharc.js
@@ -0,0 +1,3 @@
+module.exports = {
+ timeout: 100000,
+};
diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md
new file mode 1006... | 5 | 3 | 2 | [{"id": "G0", "claim": "daywiss questions why the logger had to be extracted into a whole new package rather than kept where it was.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The logger code should be dropped from financial-templates-lib and replace... | null |
UMAprotocol__protocol__4745 | UMAprotocol/protocol | 4,745 | defect | f9f61e913c30fe1704c078be6acd52994166206b | 31cb4ff3d059b89ff0203318d98e396a439412ee | feat: add run identifier in logger and hub/spoke | **Motivation**
The bots would benefit from a run identifier that is unique per bot run. This would make it much easier to track runs across multiple processes.
**Summary**
Added the run identifier to the logger (alongside the existing bot identifier) as well as the serverless orchestration code.
**Testing... | diff --git a/packages/logger/src/logger/Formatters.ts b/packages/logger/src/logger/Formatters.ts
index 91b1cbbeec..7310ac3aac 100644
--- a/packages/logger/src/logger/Formatters.ts
+++ b/packages/logger/src/logger/Formatters.ts
@@ -39,9 +39,10 @@ export function handleRecursiveErrorArray(error: Error | any[]): string | ... | 5 | 3 | 0 | [{"id": "G0", "claim": "The pull request adds stray console.log debug statements (in the hub's fatal-error handler and in the ServerlessHub tests) that look unintended and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "botIden... | null |
UMAprotocol__protocol__4905 | UMAprotocol/protocol | 4,905 | defect | 2294bcc43d6898e3b66dd73e4439cc8906c69366 | 090ca4d6741f1a4efbe1192b1658804d3b0aaaae | feat(monitors): skip oo proposal tickets if otb handles them | <!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.
-->
<!--
Title
Please include a concise title that briefly describes the change.
... | diff --git a/packages/monitors/index.js b/packages/monitors/index.js
index 26f24e016c..4fb562428f 100755
--- a/packages/monitors/index.js
+++ b/packages/monitors/index.js
@@ -55,6 +55,7 @@ const {
* @param {Object} tokenPriceFeedConfig Configuration to construct the tokenPriceFeed (balancer or uniswap) price feed obj... | 1 | 1 | 0 | [{"id": "G0", "claim": "The default maxConcurrent value of 100 is too high; it should start lower at 10 (based on notifier deeplink experiments) and be scaled up as needed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
UMAprotocol__protocol__4940 | UMAprotocol/protocol | 4,940 | defect | c9d5f4da1c8ee91572b8e21e286c5d9a009a0727 | 501f329620441502cb3bcb5b2c06170dc9e38de2 | fix: detect managed oov2 in monitors | **Motivation**
Managed Optimistic Oracle V2 requests currently generate the standard OOv2 Oracle UI link in monitor alerts. That points reviewers to the wrong UI variant.
This PR fixes the link generation inside the monitor so managed OOv2 requests resolve to `oracleType=Managed+Optimistic+Oracle+V2`.
**Summary**
T... | diff --git a/packages/monitors/src/OptimisticOracleContractMonitor.js b/packages/monitors/src/OptimisticOracleContractMonitor.js
index 49d854c1b0..b0753be82a 100644
--- a/packages/monitors/src/OptimisticOracleContractMonitor.js
+++ b/packages/monitors/src/OptimisticOracleContractMonitor.js
@@ -15,6 +15,8 @@ const { Opt... | 3 | 2 | 2 | [{"id": "G0", "claim": "_getCurrentImplementation caches the raw getStorageAt promise, so a transient RPC error on the first call permanently stores a rejected promise and every later _isManagedOOV2() call reuses that rejection, leaving managed OOv2 links incorrect for the lifetime of the monitor process; clearing/retr... | null |
UNFmontreal__Dcm2Bids__154 | UNFmontreal/Dcm2Bids | 154 | defect | 1ba6f28602b6cad8387c403fe1e26889ac48a3f3 | a82a8361e9480769df8d2ad4b75238cf9e7a1b2f | [FIX] Add a timeout when trying to retrieve dcm2bids version | ### Description
This PR adresses #149.
There is a bug that causes dcm2bids to hang when your computer is connected via ethernet to another device, but that device does not provide internet. The bug occurs when fetching the version of dcm2bids or dcm2niix. To fix this, a timeout is added to prevent hanging. While i... | diff --git a/dcm2bids/version.py b/dcm2bids/version.py
index 66b4150a..f8b88f8a 100644
--- a/dcm2bids/version.py
+++ b/dcm2bids/version.py
@@ -17,29 +17,6 @@
logger = logging.getLogger(__name__)
-def internet(host="8.8.8.8", port=53, timeout=3):
- """ Check if user has internet
-
- Args:
- host (strin... | 2 | 1 | 0 | [{"id": "G0", "claim": "SamGuay suggests checking connectivity by pinging 8.8.8.8 first and only then running curl, because when offline curl exits non-zero (CalledProcessError) and leaves an error traceback, and notes the suggested block also needs the extra subprocess imports.", "category": "design", "verdict": "oppo... | null |
UNFmontreal__Dcm2Bids__303 | UNFmontreal/Dcm2Bids | 303 | defect | 3f0c33acdbb7d4cea66b8f570309280f880a1d07 | cfbd3a4097c4441bf2349e42ff30245724bd8919 | [ENH] Allow disable automatic reorder entities | Quite some time we've been asked to add this feature:
Using: `--do_not_reorder_entities` users can now order the custom_entities the way they want to. | diff --git a/dcm2bids/acquisition.py b/dcm2bids/acquisition.py
index cba30c76..e4008bf6 100644
--- a/dcm2bids/acquisition.py
+++ b/dcm2bids/acquisition.py
@@ -30,6 +30,7 @@ def __init__(
id=None,
src_sidecar=None,
sidecar_changes=None,
+ do_not_reorder_entities=None,
**kwargs
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The help text of --do_not_reorder_entities should be reworded to say it will not reorder entities according to the relative ordering indicated in the BIDS specification and will use the order defined in custom_entities by the user.", "category": "documentation", "verdict": "supported", "priority... | null |
USCiLab__cereal__728 | USCiLab/cereal | 728 | defect | af0700efb25e7dc7af637b9e6f970dbb94813bff | 88a2df748fa5cd559189a160fc11cb98b8116d8e | Fix long long json serialization | Problem:
long long was serialized as string in json.
```
cereal/unittests/pod.hpp:51: ERROR: CHECK_EQ( os1.str(), os2.str() ) is NOT correct!
values: CHECK_EQ( {
"value0": -96
}, {
"value0": "-96"
} )
```
Comments:
It worked fine for MSVC. long long and int64_t are the same types
```
ty... | diff --git a/include/cereal/archives/json.hpp b/include/cereal/archives/json.hpp
index 456b68934..2855ac385 100644
--- a/include/cereal/archives/json.hpp
+++ b/include/cereal/archives/json.hpp
@@ -261,6 +261,13 @@ namespace cereal
//! Saves a nullptr to the current node
void saveValue(std::nullptr_t) ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added INFO(std::string(\"typeid(int).name(): \") + typeid(T2).name()) line in test_pod_serialization seems to be causing all of the MSVC test cases to fail.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.