9c5e5a97576f9bb8c7d7256cd566cdd4bcd63a3f,python/ray/tests/test_metrics.py,,test_raylet_info_endpoint,#Any#,158
Before Change
assert cpu_resources(parent_actor_info) == 2
assert parent_actor_info["numExecutedTasks"] == 4
for _, child_actor_info in children.items():
if child_actor_info["state"] == -1:
assert child_actor_info["requiredResources"]["CustomResource"] == 1
else:
assert child_actor_info[
"state"] == ray.gcs_utils.ActorTableData.ALIVE
assert len(child_actor_info["children"]) == 0
assert cpu_resources(child_actor_info) == 1
profiling_id = requests.get(
webui_url + "/api/launch_profiling",
params={
"node_id": ray.nodes()[0]["NodeID"],
After Change
try:
assert len(actors_info) == 3
c_actor_info = [
actor for actor in actors_info.values()
if "ActorC" in actor["actorTitle"]
][0]
assert c_actor_info["numObjectRefsInScope"] == 13
assert c_actor_info["numLocalObjects"] == 10
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: ray-project/ray
Commit Name: 9c5e5a97576f9bb8c7d7256cd566cdd4bcd63a3f
Time: 2020-08-18
Author: mfitton@berkeley.edu
File Name: python/ray/tests/test_metrics.py
Class Name:
Method Name: test_raylet_info_endpoint
Project Name: OpenMined/PySyft
Commit Name: 0d66931e6da93fda1c07388e6a2ed16d9a129040
Time: 2020-08-29
Author: jason.paumier@gmail.com
File Name: src/syft/core/store/store_memory.py
Class Name: MemoryStore
Method Name: get_objects_of_type
Project Name: OpenMined/PySyft
Commit Name: 489972a9e467eb20a7ebbe2b5e37c63b3d5bb2aa
Time: 2020-10-19
Author: murarugeorgec@gmail.com
File Name: syft/frameworks/torch/tensors/interpreters/additive_shared.py
Class Name: AdditiveSharingTensor
Method Name: get_garbage_collect_data