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
CGAL__cgal__7098
CGAL/cgal
7,098
defect
02306fdc4c4d01fe8a3c6fc30b2ad9406b64c6bb
7e9885e046544159433460ed3dcd59cd9a29a8ca
Mesh_3: Add test for determinism when not checking for features
## Summary of Changes Add a testcase as suggested in the issue. ## Release Management * Affected package(s): Mesh_3 * Issue(s) solved (if any): fix #6958
diff --git a/Mesh_3/test/Mesh_3/CMakeLists.txt b/Mesh_3/test/Mesh_3/CMakeLists.txt index 3f91ea357bd0..4345fc5a91f6 100644 --- a/Mesh_3/test/Mesh_3/CMakeLists.txt +++ b/Mesh_3/test/Mesh_3/CMakeLists.txt @@ -48,6 +48,7 @@ if ( CGAL_FOUND ) create_single_source_cgal_program( "test_meshing_unit_tetrahedron.cpp" ) cr...
3
3
2
[{"id": "G0", "claim": "The determinism tests, both the pre-existing test_meshing_determinism and the new test_meshing_without_features_determinism, should be added to the CMakeLists.txt list of targets linked with TBB.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
CGAL__cgal__7410
CGAL/cgal
7,410
defect
91f0834dc5dab4e5b750fbfc37dedaa7942ac193
b86667726c9bebad70ac3ea59427ba6cea5cef7b
STL extension: Add a template argument to Prevent_deref for the value type
## Summary of Changes Fix issue #7400 ## Release Management * Affected package(s): Triangulation_2, Triangulation_3, STL_extension * Issue(s) solved (if any): fix #7400 * License and copyright ownership: unchanged
diff --git a/STL_Extension/include/CGAL/iterator.h b/STL_Extension/include/CGAL/iterator.h index ea9a964c8a38..5e86e9c4561f 100644 --- a/STL_Extension/include/CGAL/iterator.h +++ b/STL_Extension/include/CGAL/iterator.h @@ -37,28 +37,34 @@ namespace CGAL { -template<typename I> +template<typename I, typename Value_...
4
4
4
[{"id": "G0", "claim": "This pull request is most likely responsible for the runtime errors in Shape_detection in CGAL-5.6-Ic-271.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The pull request is suspected to be responsible for the many timeouts i...
null
CGAL__cgal__7663
CGAL/cgal
7,663
defect
d0b188bf41704a155c9ad72fd7635f7a709764e5
2d9186184d1e8be3450a7d8dcacb801035c3b82b
Nef_2: Deal with isolated vertices
## Summary of Changes Show issue #7662 Two fixes were needed: 1. When merging faces in `simplify()` at the end of the overlay, isolated vertices were lost. 2. When cloning, we did not iterate over the isolated vertices of the source object. ## Release Management * Affected package(s): Nef_2 * Issue(...
diff --git a/Nef_2/include/CGAL/Nef_2/PM_checker.h b/Nef_2/include/CGAL/Nef_2/PM_checker.h index 4000d0d497e1..89d60c6cd7ea 100644 --- a/Nef_2/include/CGAL/Nef_2/PM_checker.h +++ b/Nef_2/include/CGAL/Nef_2/PM_checker.h @@ -203,7 +203,7 @@ check_boundary_is_clockwise_weakly_polygon() const for (vit = v_min = this->ve...
4
4
3
[{"id": "G0", "claim": "The type of the parameter of original() should be const ISegment&, as in the suggestion replacing the typo 'xonst ISegment&'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The isolate-vertices loop should run only when the f...
null
CGAL__cgal__7891
CGAL/cgal
7,891
defect
5c62ae44c84323d3f41a3ab3863cef1d230bb111
34b4b2cdf7ad7c62324a677533a4fbc5f74344a3
Poisson reconstruction - experiments and speedup using parallel Mesh_3
## Summary of Changes _Describe what your pull request changes to CGAL (this can be skipped if it solves an issue already in the tracker or if it is a Feature or Small Feature submitted to the CGAL Wiki)._ ## Release Management * Affected package(s): * Issue(s) solved (if any): fix #0000, fix #0000,... * Fea...
diff --git a/Poisson_surface_reconstruction_3/examples/Poisson_surface_reconstruction_3/CMakeLists.txt b/Poisson_surface_reconstruction_3/examples/Poisson_surface_reconstruction_3/CMakeLists.txt index d62b4bccd030..4f00438a292a 100644 --- a/Poisson_surface_reconstruction_3/examples/Poisson_surface_reconstruction_3/CMak...
3
2
1
[{"id": "G0", "claim": "It might be interesting to look again at #4996 in terms of runtime and the fact that it still crashes.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The typedef 'Mesh_criteria' in poisson_and_parallel_mesh_3.cpp is unused,...
null
CGAL__cgal__8237
CGAL/cgal
8,237
defect
e90842fd05bbbec3148a45a2a8608f494c2ff075
95b4eba11e8f83a6e7748ee34456dadf08b0bb26
SMS: Make Lindstrom Turk placement more robust
## Summary of Changes Reduced data set to illustrate Issue #8213. The collapse of edge `v1-v2` results in a completely wrong placement of the vertex. ![image](https://github.com/CGAL/cgal/assets/3263539/97ff96a1-7f6b-4182-b7b8-5267cb53f8ef) The next step is to make the placement robust. ## Release Managem...
diff --git a/Surface_mesh_simplification/include/CGAL/Cartesian/CrossProduct.h b/Surface_mesh_simplification/include/CGAL/Cartesian/CrossProduct.h new file mode 100644 index 000000000000..ebaed8622137 --- /dev/null +++ b/Surface_mesh_simplification/include/CGAL/Cartesian/CrossProduct.h @@ -0,0 +1,60 @@ +// Copyright (c...
14
14
2
[{"id": "G0", "claim": "The pull request at opening adds only a test and appears to be missing the actual fix for the placement bug.", "category": "completeness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test should be added to the testsuite so that the error shows up...
null
CGAL__cgal__8609
CGAL/cgal
8,609
defect
6cb87048bdb58cedd83a8bfd10d23a2dc60e34a5
0b3c27e584d90636daf364856cc050089d4a27b9
Flip it if you can't collapse it
if a needle is also a cap, it will be handled as a needle only. But if we can't collapse the edge, a flip will not be tried. Try the flip too. Note that this will slow down the method as the status of a triangle is tested twice. Fix #8605
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h index 9cdb76ac76b0..10327dfba58b 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_p...
2
2
2
[{"id": "G0", "claim": "collect_badly_shaped_triangles fills only the needle range for a face that is both a needle and a cap (an earlier else branch drops the cap), so the cap range is not fully filled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
CGAL__cgal__8631
CGAL/cgal
8,631
defect
3f1759df882cd85dce8d78a59f97039a9cec6e0b
7533828c78a49bf6e38cb4b799585524e9888f8c
[KSP] Exact intersections bugfix
## Summary of Changes Switching initial_polygon_iedge_intersections() and calculate_edge_intersection_time() to Intersection_kernel (epeck) Resolving potential non-convex partitions ## Release Management * Affected package(s): KSP * Issue(s) solved (if any): fix #8624
diff --git a/Kinetic_space_partition/include/CGAL/KSP/debug.h b/Kinetic_space_partition/include/CGAL/KSP/debug.h index d2f8b408ea37..6177e94f9298 100644 --- a/Kinetic_space_partition/include/CGAL/KSP/debug.h +++ b/Kinetic_space_partition/include/CGAL/KSP/debug.h @@ -50,6 +50,11 @@ get_idx_color(std::size_t idx) { ...
2
2
0
[{"id": "G0", "claim": "The non-finiteness guards `(min_speed != min_speed)` and `(max_speed != max_speed)` are an unclear way to test the computed speeds and should use the appropriate standard floating-point function instead (ultimately `std::isinf`, per the thread).", "category": "maintainability", "verdict": "suppo...
null
CGAL__cgal__8705
CGAL/cgal
8,705
defect
06fa730c757165ee9bcd3c77c58b895ac51c6a98
9f049bd4256a2d70c02e8d4712aa9c6c1a47f042
Spatial_search: Duplicate point handling
## Summary of Changes stop splitting nodes if the contained points are only duplicates ## Release Management * Affected package(s): dD Spatial Searching
diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp index 5ecd9b9530b4..1236f1b8d094 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp +++ b/Polygon_mesh_processing/test...
1
1
0
[{"id": "G0", "claim": "Do not include <CGAL/basic.h> in Splitters.h — it is a header worth avoiding — and since the code needs CGAL::is_zero, include <CGAL/number_utils.h> instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CGAL__cgal__8959
CGAL/cgal
8,959
defect
50fe8040ac4f5f7441fddb3b76e28236ee2b98d8
bbf0a0e7ace7e32cf2bae58305638b7530e53307
Orthtree: Node insertion during orthtree build has linear complexity
## Summary of Changes Added inactive list for deleted nodes (nodes cannot be deleted for now) avoiding linear search time for node insertion during Orthtree build Reusing indices in properties from deleted nodes for insertion of a group of nodes (i.e., during Orthtree refinement) is deactivated. This has no impa...
diff --git a/Property_map/include/CGAL/Property_container.h b/Property_map/include/CGAL/Property_container.h index 4aa3fe155770..8b517a7694ac 100644 --- a/Property_map/include/CGAL/Property_container.h +++ b/Property_map/include/CGAL/Property_container.h @@ -248,6 +248,7 @@ class Property_container { std::multimap...
2
2
1
[{"id": "G0", "claim": "The pull request's change causes a runtime error in the Property_map package testsuite (run summary linked).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "The new container `resize` conflates reserve and resize semantics: it do...
null
CGAL__cgal__9008
CGAL/cgal
9,008
defect
7ea06c63eaedd92ba7bec5c850639fc35c22db27
720360b20d4a0d663df70b1a3233507c76b86723
Hole filling: extra parameter to allow a control from the user on face validity
## Summary of Changes Add an extra requirement in the visitors so that it is possible to prevent some triangle faces to appear in the output. It is not clear yet how to deal with the backward compatibility The triangulate face visitor and triangulate hole visitor have different function names (`accept_face()` vs...
diff --git a/Installation/CHANGES.md b/Installation/CHANGES.md index 0db5cf4cd6cc..fda5a588ac43 100644 --- a/Installation/CHANGES.md +++ b/Installation/CHANGES.md @@ -11,6 +11,8 @@ Release date: July 2026 ### [Polygon Mesh Processing](https://doc.cgal.org/6.2/Manual/packages.html#PkgPolygonMeshProcessing) (major cha...
1
1
0
[{"id": "G0", "claim": "Taking the face range by value changed the function signature so the package documentation no longer resolves its \\link to CGAL::Polygon_mesh_processing::triangulate_faces(const FaceRange&,PolygonMesh&,const NamedParameters&), producing a Doxygen warning.", "category": "documentation", "verdict...
null
CGAL__cgal__9049
CGAL/cgal
9,049
defect
b2ba32307c065676668ec24383d54ee94ec9f402
ea15e10289b109ffe8fe7dcad9b7568e50f6cc85
Fixing warnings (mostly unused variables)
## Summary of Changes Removed unused variables or added CGAL_USE in some cases. Adapted to deprecated method in LASTools. ## Release Management * Issue(s) solved (if any): fix #9033
diff --git a/Kinetic_space_partition/include/CGAL/KSP_3/Data_structure.h b/Kinetic_space_partition/include/CGAL/KSP_3/Data_structure.h index 8514cff93d8d..662b0ff32005 100644 --- a/Kinetic_space_partition/include/CGAL/KSP_3/Data_structure.h +++ b/Kinetic_space_partition/include/CGAL/KSP_3/Data_structure.h @@ -363,11 +3...
3
3
0
[{"id": "G0", "claim": "The non_collapsable_count variable is not used at all and can be removed, instead of being kept and silenced with the CGAL_USE line the pull request added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The n_inf variable...
null
CGAL__cgal__9066
CGAL/cgal
9,066
defect
1f4a934d0fb1ce5eb7e4fc9bc2d4a8664b51ae76
426c26864152b483998a152068ff405cbdbe5efe
Get the last picked item
You can now do: ```c++ Random_points_in_triangle_mesh_3<TriangleMesh> g(mesh, r); Point c; face_descriptor fc; std::tie(c,fc) = g.point_and_support(); ++g; ``` to get the normal of the picked point cc @huang46u Small feature: [here](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Fea...
diff --git a/Generator/doc/Generator/CGAL/point_generators_2.h b/Generator/doc/Generator/CGAL/point_generators_2.h index 5b6f71c135ac..9eb1870ccd71 100644 --- a/Generator/doc/Generator/CGAL/point_generators_2.h +++ b/Generator/doc/Generator/CGAL/point_generators_2.h @@ -184,9 +184,12 @@ typedef const Point_2* pointer; ...
17
11
4
[{"id": "G0", "claim": "The name and value type of the picked-item accessor are questionable; the value type could be a struct with a conversion operator to point/face_descriptor/pair<point, face_descriptor>.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
CGAL__cgal__9072
CGAL/cgal
9,072
defect
fdef97e88ecabc939a20dc9fc5f41bad4ccd2035
967aee62e956bf4a9580a2b559f6a7e42665ce60
Stream support: Fix for Epeck
## Summary of Changes For file formats that expect floating point coordinates we convert on the fly so that `CGAL::io::write_polygon_soup()` also works for polygon soups with ` FT` which are non-float/double, e.g. `Exact_predicates_exact_constructions_kernel`. Additionally, we document the named parameter `po...
diff --git a/Kernel_23/include/CGAL/Kernel/function_objects.h b/Kernel_23/include/CGAL/Kernel/function_objects.h index b71470a62625..7d43dbf4c2d2 100644 --- a/Kernel_23/include/CGAL/Kernel/function_objects.h +++ b/Kernel_23/include/CGAL/Kernel/function_objects.h @@ -2650,7 +2650,7 @@ namespace CommonKernelFunctors { ...
3
3
2
[{"id": "G0", "claim": "Instead of scattering CGAL::to_double() and approximate_sqrt calls, the point map parameter should be added to the named parameters of write_polygon_soup(), as agreed in #7874.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ap...
null
CGAL__cgal__9087
CGAL/cgal
9,087
defect
23e624b0e8be6e5ed7dca5b505265dbfdfd7ceff
4176a2a551eba3d81ccdc6ea2a923277955ce7f6
Surface_mesh: Fix collect_garbage()
## Summary of Changes Fix the function for meshes that are not valid. ## Release Management * Affected package(s): Surface_mesh * Issue(s) solved (if any): fix #9086 * License and copyright ownership: unchanged
diff --git a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h index d38d7ffeabdc..ad339ef5ca7d 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h @@ -2680,8 +2680,12 @@ collect_garbag...
1
1
0
[{"id": "G0", "claim": "The test stores the results of add_face(), add_vertex() and add_edge() in unused variables f1/v1/e1 with stale 'If this line is commented out' comments, triggering compiler warnings; the calls should be made without assigning the result (suggested replacement blocks).", "category": "maintainabil...
null
CGAL__cgal__9103
CGAL/cgal
9,103
defect
3bfc5f32f5d51cc1be63351fc03dc2b3f1a96f93
c5b5a54952c883aedd2d47a6f3489f7c87e19af7
Frechet Distance: Fix bugs in Lambda
## Summary of Changes _Describe what your pull request changes to CGAL (this can be skipped if it solves an issue already in the tracker or if it is a Feature or Small Feature submitted to the CGAL Wiki)._ ## Release Management * Affected package(s): Frechet Distance * License and copyright ownership: unchan...
diff --git a/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_light.h b/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_light.h index 46e917458219..57bd1305cc57 100644 --- a/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_light.h +++ b/Frechet_distance/include/CGAL/Frechet...
2
2
0
[{"id": "G0", "claim": "In update_exact() the optional should be tested with !exact.has_value() instead of !exact.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In operator< the exact comparison should use exact.value() < other.exact.value() in...
null
CGAL__cgal__9113
CGAL/cgal
9,113
defect
b3e2f204a41c1e508a6f018454b60b00aa3dc6fd
76f9579c916f20cb20d007bfb2f102e73d93940d
Generic box intersection
## Summary of Change Enable `box_intersection_d()` to compute intersections of two ranges using boxes of different types ## Release Management * Affected package(s): Box_intersection_d * Issue(s) solved (if any): * Feature/Small Feature (if any): [More_generic_box_intersection](https://cgalwiki.geometryfac...
diff --git a/Box_intersection_d/doc/Box_intersection_d/Box_intersection_d.txt b/Box_intersection_d/doc/Box_intersection_d/Box_intersection_d.txt index 57e2e4d81cba..5162b5b6b6c3 100644 --- a/Box_intersection_d/doc/Box_intersection_d/Box_intersection_d.txt +++ b/Box_intersection_d/doc/Box_intersection_d/Box_intersection...
12
11
1
[{"id": "G0", "claim": "In the doc of box_intersection_all_pairs_d the added line should read \"`Box_handle_1` and `Box_handle_2` correspond respectively\" instead of \"corresponds\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment \"//...
null
CGAL__cgal__9117
CGAL/cgal
9,117
defect
c60cc5049da9139dd32ec739b6d67e424d7aed64
3fe83c7ce03c69f6a4c0fe21d82df6c8cca41692
Fix edge collapse with incident non-triangular faces
Make collapse able to handle non-triangular faces. The fix is easy as you simply don't need to join faces in case the face won't disappear after collapse **TODO:** update doc and constrained version
diff --git a/BGL/include/CGAL/boost/graph/Euler_operations.h b/BGL/include/CGAL/boost/graph/Euler_operations.h index f8c79165bc53..f788ec18113f 100644 --- a/BGL/include/CGAL/boost/graph/Euler_operations.h +++ b/BGL/include/CGAL/boost/graph/Euler_operations.h @@ -1575,9 +1575,8 @@ collapse_edge(typename boost::graph_tra...
3
2
0
[{"id": "G0", "claim": "Use the existing CGAL::is_triangle(h, g) helper instead of the hand-rolled next/next/prev comparison to detect triangle faces.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CGAL_preconditions requiring the apex verti...
null
CGAL__cgal__9274
CGAL/cgal
9,274
defect
2ae34a22ba02c1863bb958234f4741f4599895f5
bfbe2686179215d4e03a1eab9598fef447e2250f
Mesh_3 - speedup protecting balls placement
## Summary of Changes This PR speeds up the protecting balls placement from polylines in Mesh_3 by a factor ~100. The main idea is to keep track of the segment on which each protecting ball was placed to speedup the algorithm ## Todo - [x] Add data for `test_meshing_polylines_only.cpp` ## Release Manag...
diff --git a/Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h b/Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h index 4cead5453284..3a72006d4b24 100644 --- a/Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h +++ b/Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h @@ -46,6 +46,7 @@ #include <...
3
3
2
[{"id": "G0", "claim": "In Point_on_curve::operator== the curve indices should be compared before the points.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's changes make tests fail in the CGAL-6.2-Ic-109 test suite.", "category": ...
null
CGAL__cgal__9339
CGAL/cgal
9,339
defect
37e69750b4804749a274278103909bde7d8234e7
9bd9ead466994f617283b71a75a825814c004996
Introduce strictly_inside parameter for PMP::kernel_point()
## Summary of Changes Add a parameter "require_strictly_inside" to the function "PMP::kernel_point()". If the parameter is `true` and the kernel of the input mesh is degenerated, the function returns nothing instead of a point on the boundary of the kernel. ## Release Management * Affected package(s): PMP * ...
diff --git a/Lab/demo/Lab/Plugins/PMP/Kernel_plugin.cpp b/Lab/demo/Lab/Plugins/PMP/Kernel_plugin.cpp index 137caf842f5a..88aa0fd7fd59 100644 --- a/Lab/demo/Lab/Plugins/PMP/Kernel_plugin.cpp +++ b/Lab/demo/Lab/Plugins/PMP/Kernel_plugin.cpp @@ -68,7 +68,7 @@ void CGAL_Lab_mesh_kernel_plugin::on_actionKernel_triggered() ...
1
1
0
[{"id": "G0", "claim": "The documentation should say 'the following parameter is also available' (singular), since only one parameter is documented.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CGAL__cgal__9373
CGAL/cgal
9,373
defect
ced13710423603b8acea8e806beaee3898705843
cf29c5092b947e1cec6b08d2492fa1e1ad37ef1b
Add parameter erase_even_duplicates to PMP::repair_polygon_soup
## Summary of Changes Add `erase_even_duplicates` parameter to `PMP::repair_polygon_soup()`. If set to `true` and an even number of polygons are duplicates, all duplicates are removed instead of keeping one. This option is useful when transforming a manifold mesh may pinch parts of the mesh and create duplicate f...
diff --git a/PMP_Mesh_repair/include/CGAL/Polygon_mesh_processing/repair_polygon_soup.h b/PMP_Mesh_repair/include/CGAL/Polygon_mesh_processing/repair_polygon_soup.h index 59eb6a875596..d76bf0647382 100644 --- a/PMP_Mesh_repair/include/CGAL/Polygon_mesh_processing/repair_polygon_soup.h +++ b/PMP_Mesh_repair/include/CGAL...
6
6
2
[{"id": "G0", "claim": "A test should be added to ensure the behaviour is not broken at some point.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reformulated erase_all_duplicates description is less clear than the original one, specifically the pa...
null
CINPLA__exdir__42
CINPLA/exdir
42
defect
6dfff148bf87373f1ad35ccebfa7e0cb1c7689bd
5794fbc835849f0e833c0bcdb60249d5ae27ad5a
Plugin data object
TODO: - [x] Use `AttributeData` object in `attribute.py` - [x] Update the existing plugins to use `AttributeData` - [x] Use `AttributeData` and `DatasetData` in `prepare_read()` - [x] Write meta data from attributes in exdir.yaml files
diff --git a/exdir/core/attribute.py b/exdir/core/attribute.py index c65a034..70650a4 100644 --- a/exdir/core/attribute.py +++ b/exdir/core/attribute.py @@ -26,7 +26,7 @@ def __getitem__(self, name=None): for plugin in self.plugin_manager.attribute_plugins.read_order: meta_data = plugin.prepare_...
2
2
0
[{"id": "G0", "claim": "The DatasetData class should document what its data, attrs and meta parameters are.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The AttributeData class should document what its attrs and meta parameters are.", "category"...
null
CJackHwang__ds2api__112
CJackHwang/ds2api
112
defect
7af0098d1bea504732f79fd696c607b256610dcf
b8495eeeb37121acb77ce587b08e8861398eaf40
Attempt token refresh for biz_code failures; report config writability and handle token write errors
### Motivation - Make DeepSeek client more resilient by attempting a token refresh when the API returns HTTP 200 with a non-zero `biz_code`, which in managed-account mode often indicates a stale login state. - Surface whether the runtime configuration is writable in account test results so the UI can distinguish mana...
diff --git a/internal/admin/handler_accounts_testing.go b/internal/admin/handler_accounts_testing.go index 93b0c8d05..e528de089 100644 --- a/internal/admin/handler_accounts_testing.go +++ b/internal/admin/handler_accounts_testing.go @@ -89,7 +89,15 @@ func runAccountTestsConcurrently(accounts []config.Account, maxConcu...
1
1
1
[{"id": "G0", "claim": "Gate the new biz_code refresh branch to auth-indicative biz failures instead of every HTTP 200/code==0/bizCode!=0 response, because refreshing on unrelated business errors can erase a still-valid token via RefreshToken and cause repeated forced logins/account churn.", "category": "correctness", ...
null
CJackHwang__ds2api__147
CJackHwang/ds2api
147
defect
6cf4f0528c53e8ac43e5181bb6d9aef89d0a200a
59bf78d2c430b02aa81238b8dcd4032b676e1021
Preserve tool call/result roundtrip and raw payloads across Claude, Gemini and OpenAI adapters
### Motivation - Improve handling of tool calls and tool results so roundtrip metadata and raw payloads are preserved across the Claude, Gemini and OpenAI adapters and avoid injecting legacy history markers. - Normalize assistant tool-call representations into structured envelopes so downstream code can reliably dete...
diff --git a/internal/adapter/claude/handler_util_test.go b/internal/adapter/claude/handler_util_test.go index 136f1ce10..169b0b2e7 100644 --- a/internal/adapter/claude/handler_util_test.go +++ b/internal/adapter/claude/handler_util_test.go @@ -1,7 +1,6 @@ package claude import ( - "strings" "testing" ) @@ -48...
3
3
3
[{"id": "G0", "claim": "normalizeClaudeToolUseToAssistant emits assistant messages containing only tool_calls, while the Claude prompt path (deepseek.MessagesPrepare) consumes only content, so every historical tool_use turn collapses to an empty assistant marker and call name/arguments are lost from the prompt.", "cate...
null
CJackHwang__ds2api__174
CJackHwang/ds2api
174
defect
01393837be2686fb744cc621db55c271969d0949
efebe9ebad0afa9de2e8d0ad45ed217be3ef5da2
Merge pull request #171 from CJackHwang/codex/fix-issue-#170-in-ds2api Enable env-backed config writeback and bootstrap missing config file
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 👷 build - [ ] ⚡️ perf - [ ] 📝 docs - [ ] 🔨 chore #### 🔀 变更说明 | Description of Change <!-- Thank you for your Pull Request. Please provide a description above. -...
diff --git a/API.en.md b/API.en.md index 2db8d0398..967c25805 100644 --- a/API.en.md +++ b/API.en.md @@ -587,6 +587,9 @@ Returns sanitized config. { "keys": ["k1", "k2"], "env_backed": false, + "env_source_present": true, + "env_writeback_enabled": true, + "config_path": "/data/config.json", "accounts": [ ...
2
1
1
[{"id": "G0", "claim": "In writeback mode, the early return on env JSON parse failure prevents falling back to the already-persisted DS2API_CONFIG_PATH file, so a restart can drop into an empty in-memory config (no keys/accounts) even though a valid file exists, breaking production auth until the env vars are fixed.", ...
null
CJackHwang__ds2api__180
CJackHwang/ds2api
180
defect
1cdfa9c05ddad7ce8c91e4df6b3b63ff8bf4a9df
bfca84c2c7dd4a7d79788a4e58d7a2f0cd0a8f17
Detect Gemini `functionCall` and Claude `tool_use`, backfill tool_call IDs, and broaden tool-sieve detection
### Motivation - Improve detection and parsing of additional tool-call syntaxes emitted by different models (Gemini `functionCall`, Claude `tool_use`, and variants). - Ensure tool-result messages can be associated with their originating tool call by backfilling or generating stable `tool_call_id` values. - Make the s...
diff --git a/internal/adapter/claude/handler_helpers_misc.go b/internal/adapter/claude/handler_helpers_misc.go new file mode 100644 index 000000000..7b897344b --- /dev/null +++ b/internal/adapter/claude/handler_helpers_misc.go @@ -0,0 +1,97 @@ +package claude + +import ( + "fmt" + "strings" +) + +func hasSystemMessage(...
1
1
1
[{"id": "G0", "claim": "findToolSegmentStart lowercases the chunk but searches for the mixed-case keyword \"functionCall\", so Gemini payloads containing only functionCall are never detected as tool segments (and the same mixed-case keyword is used in consumeToolCapture); both lookups should use lowercase \"functioncal...
null
CJackHwang__ds2api__184
CJackHwang/ds2api
184
defect
1eb47147c28f37a33a94089060499f63ecf1cdf4
f6cd541c6f3236512c00f8db168d40214de03764
auth: retry other managed accounts when token ensure fails
### Motivation - Removing the token-first acquisition pass exposed a regression where a single stale/bad managed account could cause immediate request failures even when healthy accounts were available. - The goal is to keep fair rotation across accounts while avoiding intermittent failures by skipping accounts that fa...
diff --git a/internal/auth/auth_edge_test.go b/internal/auth/auth_edge_test.go index 55c46ef29..929b753c0 100644 --- a/internal/auth/auth_edge_test.go +++ b/internal/auth/auth_edge_test.go @@ -204,6 +204,45 @@ func TestSwitchAccountNilTriedAccounts(t *testing.T) { r.Release(a) } +func TestSwitchAccountSkipsLoginFa...
1
1
1
[{"id": "G0", "claim": "When every managed account fails ensureManagedToken, the retry loop should retain and return the last ensure error instead of converting the authentication failure into ErrNoAccount after exhausting retries.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
CJackHwang__ds2api__187
CJackHwang/ds2api
187
defect
cc74397edc04a8d82d6e3b4a532927d22b71319e
15bf77e044cf775bf040dbd6c6e05dfe9439750f
fix: use schema-correct exec parameter examples in tool prompt
### Motivation - Address issue #178 where execution-style tool calls could emit incorrect parameter keys (e.g. `command` vs `cmd`) due to generic example prompts that didn't follow tool schemas. - Make the tool-calling instruction examples align with actual tool argument schemas to reduce model mis-recognition of exec...
diff --git a/internal/adapter/openai/tool_sieve_core.go b/internal/adapter/openai/tool_sieve_core.go index 5d96503f3..1b3c975d2 100644 --- a/internal/adapter/openai/tool_sieve_core.go +++ b/internal/adapter/openai/tool_sieve_core.go @@ -183,7 +183,7 @@ func findToolSegmentStart(s string) int { return -1 } lower ...
1
1
1
[{"id": "G0", "claim": "findQuotedFunctionCallKeyStart now only matches the exact quoted key \"functionCall\", so payloads like {functionCall:{...}} that the parser could previously recover via loose-JSON repair are no longer recognized as tool-call segments, and the tool payload is emitted as plain text instead of bei...
null
CJackHwang__ds2api__191
CJackHwang/ds2api
191
defect
283aa304df372fef52229d309d76d922e800fd4d
02d64c192e25a46caa7cd8c9e560143ebed70544
fix: prioritize quoted functionCall keys in tool sieve
### Motivation - The sieve could anchor on an earlier bare `functionCall:` occurrence in prose and miss a later real JSON tool payload like `{"functionCall":{...}}`, which can leak executable tool JSON. ### Description - Update `findQuotedFunctionCallKeyStart` to always prefer a quoted `"functionCall"` match and only...
diff --git a/internal/adapter/openai/tool_sieve_functioncall.go b/internal/adapter/openai/tool_sieve_functioncall.go index 66d754ecc..bfdfaa625 100644 --- a/internal/adapter/openai/tool_sieve_functioncall.go +++ b/internal/adapter/openai/tool_sieve_functioncall.go @@ -5,18 +5,18 @@ import "strings" func findQuotedFunc...
1
1
1
[{"id": "G0", "claim": "The unconditional preference for a quoted match in findQuotedFunctionCallKeyStart can regress valid loose-payload detection: when a bare tool call appears earlier and an escaped \"functionCall\": substring appears later inside a string value, the quoted scan (which does not parse JSON string sta...
null
CJackHwang__ds2api__192
CJackHwang/ds2api
192
defect
02d64c192e25a46caa7cd8c9e560143ebed70544
39f6e066d6379031ea88742edbf6ed69a549268e
fix: harden functionCall key detection in tool sieve
### Motivation - Prevent occurrences of `functionCall` inside JSON string literals or prose from being misinterpreted as structural keys. - Ensure loose `functionCall:` matches are actually followed by an object value before accepting them as tool payload starts. - Prefer the earliest valid key start between quoted a...
diff --git a/internal/adapter/openai/tool_sieve_functioncall.go b/internal/adapter/openai/tool_sieve_functioncall.go index bfdfaa625..35b0257f4 100644 --- a/internal/adapter/openai/tool_sieve_functioncall.go +++ b/internal/adapter/openai/tool_sieve_functioncall.go @@ -7,16 +7,16 @@ func findQuotedFunctionCallKeyStart(s...
1
1
1
[{"id": "G0", "claim": "Returning bareIdx whenever the bare key appears earlier than the quoted key lets prose-like `functionCall: {...}` segments win over a valid quoted payload later in the same chunk, so consumeToolCapture can extract the wrong object and emit the capture as text instead of parsing the real tool cal...
null
CJackHwang__ds2api__194
CJackHwang/ds2api
194
defect
443fa4ad8e48eeae12b155b54dc9a02adf2dacac
e958bf7e40430aa069f396ff41c01d02ea2cf872
Preserve SSE keep-alive, stop on CONTENT_FILTER status, and propagate upstream token usage
### Motivation - Avoid dropping upstream SSE comment heartbeats (e.g. `: keep-alive`) which caused translated streaming paths to idle-timeout when middle nodes filtered non-`data:` lines. - Ensure content-filter terminal signals from DeepSeek (including `response/status: CONTENT_FILTER` or nested variants) stop outpu...
diff --git a/internal/adapter/claude/handler_messages.go b/internal/adapter/claude/handler_messages.go index 5b553dcd2..ced0dc1af 100644 --- a/internal/adapter/claude/handler_messages.go +++ b/internal/adapter/claude/handler_messages.go @@ -90,6 +90,11 @@ func (h *Handler) Messages(w http.ResponseWriter, r *http.Reques...
2
2
2
[{"id": "G0", "claim": "hasContentFilterValue returns true for any string equal to \"content_filter\" found while recursively scanning the whole payload, so a normal content chunk like {\"p\":\"response/content\",\"v\":\"content_filter\"} is treated as a terminal filter signal and stops the stream, which can truncate v...
null
CJackHwang__ds2api__201
CJackHwang/ds2api
201
defect
ca3c16c424274575d840995106e16c52833153c9
5722f21cddd0ce77c5bf861c887b9ce981b74d47
Proxy Claude/Gemini adapters via OpenAI core, preserve model mapping, update README and tests
### Motivation - Consolidate runtime execution to a unified OpenAI core so Claude/Gemini requests can be translated and executed through `openai.ChatCompletions` for consistent tool-calling and streaming semantics. - Preserve Claude model routing (claude_mapping) when proxying through OpenAI so existing performance/ro...
diff --git a/README.MD b/README.MD index fe978804e..7696bfc32 100644 --- a/README.MD +++ b/README.MD @@ -31,7 +31,7 @@ flowchart LR Client["🖥️ 客户端 / SDK\n(OpenAI / Claude / Gemini)"] Upstream["☁️ DeepSeek API"] - subgraph DS2API["DS2API 3.x(统一 Go 路由内核)"] + subgraph DS2API["DS2API 3.x(统一 OpenAI 内核)"] ...
1
1
1
[{"id": "G0", "claim": "The new Gemini error path rewrites OpenAI failures into a Gemini envelope without forwarding upstream response headers, so non-2xx responses drop protocol-critical metadata like Retry-After, WWW-Authenticate and rate-limit headers; please copy upstream headers through before calling writeGeminiE...
null
CJackHwang__ds2api__207
CJackHwang/ds2api
207
defect
6b32d84222b9a65cbddedcabce49f0a4626e6090
0258f83d1034b66da7486d5ea8b0597020cfe94a
Fix XML passthrough in tool sieve and return 429 on empty upstream output
### Motivation - Prevent legitimate XML/snippets (e.g. inline SVG/XML examples) from being swallowed by the tool-call sieve when they are not executable tool calls. - Surface an explicit retryable error when the upstream model returns no usable content (both thinking and text empty) so clients do not receive silent/emp...
diff --git a/internal/adapter/openai/handler_chat.go b/internal/adapter/openai/handler_chat.go index 1b2fec440..a0464deab 100644 --- a/internal/adapter/openai/handler_chat.go +++ b/internal/adapter/openai/handler_chat.go @@ -5,6 +5,7 @@ import ( "encoding/json" "io" "net/http" + "strings" "time" "ds2api/int...
1
1
1
[{"id": "G0", "claim": "When a non-executable XML block is passed through, the branch returns the entire captured buffer and drops suffixPart, so if the same chunk contains normal XML followed by a real tool call, the later executable block would be emitted as plain text and never re-parsed by the sieve.", "category": ...
null
CJackHwang__ds2api__209
CJackHwang/ds2api
209
defect
6bf08e00cdc9494fa720dbb9aafe35b91242c58e
c6340354ec05fa212815df10a839225d65a27a55
Preserve trailing newlines when stripping leaked CONTENT_FILTER and strengthen XML tool-call parsing
### Motivation - Prevent accidental collapsing of line structure when upstream models append `CONTENT_FILTER` markers after line breaks. - Improve robustness of XML tool-call extraction to handle names and parameters in varied tag forms and namespaces. ### Description - Change content-filter cleanup to preserve `\...
diff --git a/internal/sse/content_filter_leak.go b/internal/sse/content_filter_leak.go index f73e40c33..83e9847c8 100644 --- a/internal/sse/content_filter_leak.go +++ b/internal/sse/content_filter_leak.go @@ -9,7 +9,7 @@ func filterLeakedContentFilterParts(parts []ContentPart) []ContentPart { out := make([]ContentPar...
1
1
1
[{"id": "G0", "claim": "parseSingleXMLToolCall prefills the tool name from any generic <name>...</name> tag in the block before XML decoding, so in formats using <tool name=\"...\"> with a <name> parameter the pre-filled value blocks the tool-name attribute (applied only when name is empty), and the parser can return a...
null
CJackHwang__ds2api__211
CJackHwang/ds2api
211
defect
6b32d84222b9a65cbddedcabce49f0a4626e6090
95a9d168437bbc95bf7eb318c61c6333378d2283
Merge pull request #209 from CJackHwang/codex/investigate-command-output-loss-issue Preserve trailing newlines when stripping leaked CONTENT_FILTER and strengthen XML tool-call parsing
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 👷 build - [ ] ⚡️ perf - [ ] 📝 docs - [ ] 🔨 chore #### 🔀 变更说明 | Description of Change <!-- Thank you for your Pull Request. Please provide a description above. -...
diff --git a/VERSION b/VERSION index 4a36342fc..fd2a01863 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.0 +3.1.0 diff --git a/internal/adapter/openai/handler_chat.go b/internal/adapter/openai/handler_chat.go index 1b2fec440..a0464deab 100644 --- a/internal/adapter/openai/handler_chat.go +++ b/internal/adapter/ope...
2
2
2
[{"id": "G0", "claim": "Mapping any non-stream response with empty thinking and sanitized text to HTTP 429 (rate_limit_error) misclassifies non-rate-limit upstream outcomes (notably content_filter stops producing no text) as retryable throttling, causing incorrect client retry loops and hiding the real failure mode.", ...
null
CJackHwang__ds2api__234
CJackHwang/ds2api
234
defect
d09260d06f89553bec5c699ee173ea29f57e145c
668b9c26bdbf01772d19f81bd160cc6df2019b26
Propagate DeepSeek SSE token usage to /v1/responses and remove stale POW env docs
### Motivation - Fix an observed gap where DeepSeek SSE snapshots (e.g. `accumulated_token_usage` / `token_usage`) were not consistently reflected in OpenAI-compatible `/v1/responses` usage fields. - Address a PR review note about stale documentation that advertised an unimplemented `DS2API_POW_CONCURRENCY` env var. ...
diff --git a/API.en.md b/API.en.md index 7276c8672..0238a4288 100644 --- a/API.en.md +++ b/API.en.md @@ -267,6 +267,7 @@ data: [DONE] - `deepseek-reasoner` / `deepseek-reasoner-search` models emit `delta.reasoning_content` - Text emits `delta.content` - Last chunk includes `finish_reason` and `usage` +- Token counti...
1
1
1
[{"id": "G0", "claim": "injectStreamUsageMetadata rebuilds matched Gemini chunks as \"data: \" + json without restoring the original \\n\\n terminator, so in streaming responses the modified final JSON frame can merge with the following data: [DONE] line into one SSE event; keep the original frame delimiter (or explici...
null
CJackHwang__ds2api__239
CJackHwang/ds2api
239
defect
80b88b37ff0ab2387d40fc0db0b976b93c4eaef1
77a401fb19b95ee8955ac0195a06ce331170c70b
Fix HTML-escaped tool-call args and preserve upstream token usage (stream & non-stream)
### Motivation - Tool-call XML/markup arguments were containing HTML-escaped entities (e.g. `&gt;`) which caused command execution deviations when parsed as tool arguments. - Upstream responses sometimes report token usage using `input_tokens`/`output_tokens` or string-valued numbers, causing third-party clients (e.g...
diff --git a/internal/toolcall/toolcalls_parse.go b/internal/toolcall/toolcalls_parse.go index 400fd86c2..bb1250ea0 100644 --- a/internal/toolcall/toolcalls_parse.go +++ b/internal/toolcall/toolcalls_parse.go @@ -2,6 +2,7 @@ package toolcall import ( "encoding/json" + "html" "strings" ) @@ -156,14 +157,39 @@ ...
1
1
1
[{"id": "G0", "claim": "Unconditionally unescaping HTML entities on every parsed tool-call name and input string rewrites valid JSON payloads that intentionally contain entity text (e.g. \"&amp;\"), a behavior regression from the previous parser that can silently corrupt tool inputs even when the model did not emit mar...
null
CJackHwang__ds2api__267
CJackHwang/ds2api
267
defect
69b7bc0c1a9a4ba4b26f34a15f13fe73fa20f584
5b7cdaa729ea7163a6b393898d459244bca96c84
Strip fenced code blocks before XML tool-call parsing to avoid executing examples
### Motivation - The XML-only tool-call parser treated `<tool_call>` fragments inside markdown fenced code blocks as real tool calls, which could cause example snippets to be misinterpreted and leak into execution paths. - The change prevents fenced examples from being promoted to `tool_calls` while preserving detectio...
diff --git a/internal/toolcall/toolcalls_parse.go b/internal/toolcall/toolcalls_parse.go index f0cb2acd5..e1e934ca7 100644 --- a/internal/toolcall/toolcalls_parse.go +++ b/internal/toolcall/toolcalls_parse.go @@ -39,6 +39,11 @@ func parseToolCallsDetailedXMLOnly(text string) ToolCallParseResult { return result } ...
1
1
1
[{"id": "G0", "claim": "parseFenceOpen collapses any fence of 3+ markers to exactly three characters while isFenceClose accepts only a close line with no extra markers, so four-backtick fences are never recognized as closed, stripFencedCodeBlocks stays inFence, and legitimate tool-call blocks outside the fenced example...
null
CJackHwang__ds2api__272
CJackHwang/ds2api
272
defect
2ba8b143d067db13b854c84810742b81ba2a5762
f7426f9f04da42fbd1ac817d6c3cd8196a0f177b
Remove outdated architecture documentation and improve citation parsing
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 👷 build - [ ] ⚡️ perf - [x] 📝 docs - [ ] 🔨 chore #### 🔀 变更说明 | Description of Change <!-- Thank you for your Pull Request. Please provide a description above. -...
diff --git a/README.MD b/README.MD index 5e6823ad6..b72c3646d 100644 --- a/README.MD +++ b/README.MD @@ -82,16 +82,6 @@ flowchart LR - **前端**:React 管理台(`webui/`),运行时托管静态构建产物 - **部署**:本地运行、Docker、Vercel Serverless、Linux systemd -### 3.X 底层架构调整(相较旧版本) - -- **统一路由内核**:所有协议入口统一汇聚到 `internal/server/router.go`,并在同一路由树中注册...
1
1
1
[{"id": "G0", "claim": "The cite index normalization only adds 1 when idx <= 0, which mis-handles zero-based sequences beyond the first citation, so non-stream search responses with 3+ citations can map [citation:n] to the wrong URL after replacement.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
CJackHwang__ds2api__273
CJackHwang/ds2api
273
defect
aa7f821151dea56f6d93155e2877f920a2566702
ae3765489376f952c054da74d41076b979374539
Fix zero-based citation index normalization
### Motivation - A bug in the new citation collector path mis-normalized explicit `cite_index` values so zero-based sequences like `0,1,2` could map to the wrong visible `[citation:n]` markers, producing user-visible attribution corruption. ### Description - Normalize explicit citation indices by adding 1 for all non-...
diff --git a/internal/sse/citation_links.go b/internal/sse/citation_links.go index 978d02d12..e20314c2d 100644 --- a/internal/sse/citation_links.go +++ b/internal/sse/citation_links.go @@ -66,7 +66,11 @@ func (c *citationLinkCollector) captureURLAndIndex(m map[string]any) { if !hasIdx { return } - if idx <= 0 { ...
1
1
1
[{"id": "G0", "claim": "Incrementing every non-negative cite_index shifts already one-based payloads (e.g., 1,2) to 2,3, so build() backfills slot 1 from insertion order and duplicates or misaligns citation links ([citation:2] can point at the wrong URL) whenever upstream emits one-based indices instead of strictly zer...
null
CJackHwang__ds2api__362
CJackHwang/ds2api
362
defect
22160de2c4ae9b208a5646765db53eebfd54257a
89225c778e49abc3c11ac67390f7a9a7b93fddf1
fix(sse): batch tiny stream chunks before emitting
### Motivation - 修复 issue #361 中的上游 DeepSeek SSE 流粒度过细导致客户端(如 OpenClaw / Hermes Agent)超时的问题。 - 目标是在不破坏控制事件顺序的前提下,减少下游被逐字符/逐空格拆分的 SSE 事件数量以改善兼容性和稳定性。 ### Description - 在 `internal/sse/stream.go` 的 `StartParsedLinePump` 中增加了聚合逻辑,新增常量 `minFlushChars`(默认 160)和 `maxFlushWait`(默认 80ms)用于字符阈值和时间阈值的双重触发。 - 将扫描拆成独立 reader g...
diff --git a/internal/sse/stream.go b/internal/sse/stream.go index 4aa2d3938..188f28d9e 100644 --- a/internal/sse/stream.go +++ b/internal/sse/stream.go @@ -4,12 +4,15 @@ import ( "bufio" "context" "io" + "time" ) const ( parsedLineBufferSize = 128 scannerBufferSize = 64 * 1024 maxScannerLineSize =...
1
1
1
[{"id": "G0", "claim": "The scanner goroutine can remain blocked forever on `lineCh <- ...` when `ctx` is canceled because it never selects on `ctx.Done()`; please make the scanner send path cancellation-aware (or close/drain signaling) so it can exit when the pump stops consuming.", "category": "correctness", "verdict...
null
CJackHwang__ds2api__55
CJackHwang/ds2api
55
defect
4b73315df0d8b7e7157ae0f49e8c7da8ed212590
255feb2e650f8667f24dd796ca5ad17cebc94d1a
fix(claude): 修复工具调用兼容与解析回退
- Claude 工具定义兼容 input_schema 与 function.parameters - tool_calls 解析增加 thinking 回退与大小写无关工具名匹配 - 补充 claude/util 相关回归测试 # fix(claude): improve tool-call compatibility and parsing fallback for Anthropic messages ## PR 内容 ### 背景 在 `POST /anthropic/v1/messages` 场景下,存在“返回普通文本而非 `tool_use`”的问题,主要表现为: 1. O...
diff --git a/internal/adapter/claude/handler_stream_test.go b/internal/adapter/claude/handler_stream_test.go index 701c8d722..42358aa3f 100644 --- a/internal/adapter/claude/handler_stream_test.go +++ b/internal/adapter/claude/handler_stream_test.go @@ -183,6 +183,32 @@ func TestHandleClaudeStreamRealtimeToolSafety(t *t...
1
1
1
[{"id": "G0", "claim": "The thinking-fallback in BuildMessageResponse should be limited to cases where no final text was produced, because any parseable tool_calls snippet in finalThinking (including speculative reasoning) can flip the response to stop_reason=tool_use and suppress the real text output; the same guard i...
null
CLIUtils__CLI11__1115
CLIUtils/CLI11
1,115
defect
10ac3e59a4c90eaeb6af35fa5e53164ef85c88c6
de7c90c042ba6074a5e414e064eadfbc01d2e3d5
Allow trailing spaces on strings for conversions
Allow trailing spaces on strings for conversions to floating point and integers. There was a potential confusing error that could occur if strings with trailing spaces were converted to integer or floating point values. This PR allows trailing spaces in the strings that would otherwise be convertible to the approp...
diff --git a/include/CLI/TypeTools.hpp b/include/CLI/TypeTools.hpp index 5c2689771..4b56f10c5 100644 --- a/include/CLI/TypeTools.hpp +++ b/include/CLI/TypeTools.hpp @@ -968,6 +968,9 @@ bool integral_conversion(const std::string &input, T &output) noexcept { nstring.erase(std::remove(nstring.begin(), nstring.en...
1
1
1
[{"id": "G0", "claim": "The new trailing-space handling in the unsigned integral_conversion overload (include/CLI/TypeTools.hpp line 972) is not covered by tests — tests for unsigned integers with spaces should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
CLIUtils__CLI11__1136
CLIUtils/CLI11
1,136
defect
4160d259d961cd393fd8d67590a8c7d210207348
5fffba994ce5c43bd8edef98de4ce5a4e04d306b
add tests and fixes for array options
Fixes #1135. Adds enable check to certain to_string functions as some std::array operations were ambiguous. The addition of the capability to convert tuples to strings created an ambiguity in the case std::array, which acts like a tuple and a container. So it worked with the container conversion before, but cou...
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0f8a92c32..4bae11a87 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -99,7 +99,7 @@ jobs: steps: - task: UsePythonVersion@0 inputs: - versionSpec: "3.7" + versionSpec: "3.11" - script: python3 -m pip...
1
1
0
[{"id": "G0", "claim": "The attribution comment misspells the reviewer's name as @gourin instead of @gouarin and should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CLIUtils__CLI11__1226
CLIUtils/CLI11
1,226
defect
a41ba814b3202aeb35f6ed36f0fde80402bf85cc
59c05d68dca70792b6ce454b02cb9b284e8965a2
Option callback priority v2
Extension allowing all possible priority combinations. Add a field callback_priority to OptionBase.
diff --git a/README.md b/README.md index d00e06f5c..4442ec166 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,10 @@ int main(int argc, char** argv) { } ``` -For more information about `ensure_utf8` the section on +When adding options the names should not conflict with each other, if an option +is added, or a ...
3
3
1
[{"id": "G0", "claim": "The CallbackPriority enumeration value (PreReadConfigPreHelp) would be clearer if it were named \"First\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The help, help-all and version flag callbacks are given PreRequirem...
null
CLIUtils__CLI11__206
CLIUtils/CLI11
206
defect
59de6befa499dabcff197e77ea477cd11d95be0f
8dcb687bc8044c9589c0029fde87c218d341ccec
add some more tests of custom parsers and adjustments to the README
Add a test that creates and uses a custom parser to store a value. If merged this PR will add a few more tests using an overload of CLI::defail::lexical_cast and a few statements in the readme. It includes an alternative for getting a std::complex as an option output.
diff --git a/README.md b/README.md index 935ef9093..9e2865ad3 100644 --- a/README.md +++ b/README.md @@ -401,7 +401,7 @@ Every `add_` option you have seen so far depends on one method that takes a lamb Other values can be added as long as they support `operator>>` (and defaults can be printed if they support `operat...
1
1
1
[{"id": "G0", "claim": "The new regex-based tests may fail when built against a non-functional <regex> such as libstdc++ from GCC 4.8 or when mixing standard libraries, so the tests should be enabled conditionally (optionally from CMake) or, if kept, guarded by __has_include plus a runtime check instead of a C++14 chec...
null
CLIUtils__CLI11__216
CLIUtils/CLI11
216
defect
b4910df3d7df491abe33efcb03779314f92d47d3
f666b3cf88531492c9cf827e05a700353125061c
Add unnamed subcommand
If merged this pull request will allow unnamed subcommands that get checked for options if no matches occur in the main App. it also allows the extraction and insertion of subcommands via shared_ptr. See issue #215.
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 56a58e87c..eb617a0df 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -63,6 +63,24 @@ set_property(TEST subcommands_all PROPERTY PASS_REGULAR_EXPRESSION "Subcommand: start" "Subcommand: stop") +add_cli_exe(subcom_parti...
6
4
0
[{"id": "G0", "claim": "The add_subcommand(CLI::App_p) overload should return a pointer to the added subcommand (or carry a different name) instead of returning the main App for chaining.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new has_unnamed...
null
CLIUtils__CLI11__228
CLIUtils/CLI11
228
defect
5e0bb1c8da99a95708f504640f2b55fee40fbedc
48ec60d75ef1717959dea768024ab5cf58fe460a
Adding map support to IsMember
`CLI::IsMember` now supports maps. Example with an enum: ```cpp std::map<std::string, Level> map = {{"High", Level::High}, {"Medium", Level::Medium}, {"Low", Level::Low}}; Level level; app.add_option("-l,--level", level, "Level settings") ...
diff --git a/README.md b/README.md index db61f643b..16e959d56 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,7 @@ Before parsing, you can set the following options: - `->description(str)`: Set/change the description. - `->multi_option_policy(CLI::MultiOptionPolicy::Throw)`: Set the multi-option policy. Sho...
5
3
2
[{"id": "G0", "claim": "A map passed to IsMember should be oriented the other way round so the key (first) is matched against the input and the value (second) is returned, instead of the current matching of values and returning of keys, since non-unique outputs are acceptable but non-unique inputs are not.", "category"...
null
CLIUtils__CLI11__235
CLIUtils/CLI11
235
defect
571fb07cfb866d7754e0154655d5bbb97b1fc8ec
8b03ef91519eed7ba77895d4c71ebc6f4ee6a0b6
Allow general flag types
If merged this pull request will allow general flag values to be used, along with customized default values. It also introduces a shortcut syntax for retrieving flag and option values. Which is useful for allowing options with no storage variables. ``` app["--flag"].as<std::string>() ``` this is similar nota...
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 01590c319..226171389 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -130,7 +130,12 @@ add_cli_exe(enum enum.cpp) add_test(NAME enum_pass COMMAND enum -l 1) add_test(NAME enum_fail COMMAND enum -l 4) set_property(TEST enum_fai...
4
1
0
[{"id": "G0", "claim": "The digit_args failure test's PASS_REGULAR_EXPRESSION was weakened to \"--level: 4 not in {\" and should be restored to match the real enum failure output.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The change from std::m...
null
CLIUtils__CLI11__240
CLIUtils/CLI11
240
defect
7254ea791606c48e1729be06d98ae7870ec9e1b1
f342e848e79b05d59c44cc417013aef31967d918
Option delimiter
This PR addresses an issue I came across working on the Validators. The problem was with vectors and Validators if you wanted a vector with a range of say [0, 20] There are options for Validating individual elements but not after the conversion if you also wanted to use a custom delimiter. Furthermore if you wanted ...
diff --git a/README.md b/README.md index 012fb6d6a..6d5f51a4c 100644 --- a/README.md +++ b/README.md @@ -273,6 +273,7 @@ Before parsing, you can set the following options: - `->ignore_case()`: Ignore the case on the command line (also works on subcommands, does not affect arguments). - `->ignore_underscore()`: Ig...
5
4
1
[{"id": "G0", "claim": "The App overloads that carry the delimiter argument could be eliminated in favour of the new Option::delimiter(char) method, accepting a few breaking changes to the not-yet-released API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "cla...
null
CLIUtils__CLI11__242
CLIUtils/CLI11
242
defect
9f81385bcd14e6dcd741fae6396713582a332f56
29c52975e694393bcff08d6d66e2d04a7ed0a1f3
To string and default option revamp
This adds `to_string`, which automatically selects the best way to convert a type to a string, and returns an empty string if the type is unconvertable. This removes the two overloads for `defaulted`, and has the side effect that now capturing a default can be done later through the option, the way all other option set...
diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index c14c2c105..47a06cca0 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -370,16 +370,24 @@ class App { throw OptionAlreadyAdded(myopt.get_name()); } - /// Add option for non-vectors (duplicate copy needed without defaulted to...
4
2
0
[{"id": "G0", "claim": "The default_function lambda captures `variable` by reference, so the captured default is going to change whenever the value is updated; it would need to capture by value to make much sense.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
CLIUtils__CLI11__251
CLIUtils/CLI11
251
defect
be8a08f25d96bf9dda00d24d5c1225839ca737df
9d421e033d6f2c381d7e3c4d0078e2c8c261c4af
Pre parse callback
This PR adds a pre parse callback and clarifies the callback timing of subcommands and option groups. It will also address issue #166. The basic concept is to allow each app/subcommand/option_group to have two callbacks, one would execute after the first argument of the subcommand/option group is processed. T...
diff --git a/README.md b/README.md index 69eeb4aca..75d813415 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ CLI11 is a command line parser for C++11 and beyond that provides a rich feature - [Subcommands](#subcommands) - [Subcommand options](#subcommand-options) - [Option groups]...
14
11
2
[{"id": "G0", "claim": "The README should not advertise '$' (and '#' and '%') as valid option-name starting characters since they are problematic in shells; dropping them while keeping '?' and '@' would be fine.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
CLIUtils__CLI11__313
CLIUtils/CLI11
313
defect
fc6e1c7a43c5dafbc157b1e85592acd95bcada02
4d24f508386ae373e88e751f9535dec12bbb0f6e
Third stage callback
If merged this PR will add a third callback to apps. Based on the discussion from [gitter](https://gitter.im/CLI11gitter/Lobby?at=5d00f8c3c5386926f6d7da29) It adds two new function `final_callback` and `parse_complete_callback` The `callback function will populate one of these depending on the status of immediat...
diff --git a/README.md b/README.md index 27af1a34b..021617e86 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ app.add_option(option_name, help_string="") app.add_option_function<type>(option_name, - function <void(const type &value)>, // 🆕 int, bool, float, enum, or string-l...
4
1
0
[{"id": "G0", "claim": "The opening code fence of the validator-operations example at README.md line 440 should be a ```cpp fence instead of a bare fence so the example is highlighted as C++.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A blank ...
null
CLIUtils__CLI11__358
CLIUtils/CLI11
358
defect
ba7b29f9f8a40e88f41cb473760ff867af2e5752
a649b8d85d2b5995ff4a4d4baadc9a362abf6ef2
Deprecated retired options
adds helper functions for retired and deprecated options Fixes #275
diff --git a/README.md b/README.md index 8daf4020d..c4a8550d4 100644 --- a/README.md +++ b/README.md @@ -651,7 +651,7 @@ This results in the subcommand being moved from its parent into the option group Options in an option group are searched for a command line match after any options in the main app, so any positional...
9
9
0
[{"id": "G0", "claim": "The example's top comment should read 'This example shows' instead of the ungrammatical 'This example show'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The example comment should say 'a non-existing option' rather than ...
null
CLIUtils__CLI11__387
CLIUtils/CLI11
387
defect
c67ab9dd435ad2b9db96889e74db04016c207cf0
f56bc7fd56974fcb072e81937c07ebc5aaedb167
default_val option call
Fix potentially improper callback calls for default_val Option function. the update adds a flag variable to control it, makes default_val exception safe and a template to convert from actual value types. add a variant of is_vector to check for const std::vector as well. add a few tests for different modes of opera...
diff --git a/README.md b/README.md index b1a353ea4..ddd6f10af 100644 --- a/README.md +++ b/README.md @@ -331,6 +331,8 @@ Before parsing, you can set the following options: `->capture_default_str()`: 🆕 Store the current value attached and display it in the help string. - `->default_function(std::string())`: 🆕 ...
1
1
0
[{"id": "G0", "claim": "The new README line should read `default_str(string)` instead of `default_str()`, showing the function's argument.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CLIUtils__CLI11__416
CLIUtils/CLI11
416
defect
ffe5b29e1f187d3acfe2b02bc3bebc43408dac66
068ce8a5c0b6289c5c759432e5488650f97fa724
Value initialization
Based on #411 This PR tries to clear up some things from the book and README. And go through all the tests and examples, and even though I am pretty sure there were no actual examples of undefined behavior, the potential was there in some cases. And the use of non-initialized values in many of the tests probably ...
diff --git a/book/chapters/flags.md b/book/chapters/flags.md index 59c0254a9..5c76c7e23 100644 --- a/book/chapters/flags.md +++ b/book/chapters/flags.md @@ -7,7 +7,7 @@ The most basic addition to a command line program is a flag. This is simply some The simplest way to add a flag is probably a boolean flag: ```cpp ...
1
1
0
[{"id": "G0", "claim": "The new section heading in the flags chapter should read \"## Arbitrary type flags\" instead of \"## arbitrary Type flags\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CLIUtils__CLI11__452
CLIUtils/CLI11
452
defect
b9a2f320b912aae623c4acddea06cba399b98654
95500cd69ece85a905fedb23fa95120e6c73582c
Version add
Add a version operation, similar to config and help, to print out the version and exit. Supports adding the version via a string or callback. We had been doing this in our application and it might seem to be something that is pretty common to want in applications
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2359d5cd8..bd9baddb6 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -54,6 +54,9 @@ set_property(TEST simple_all PROPERTY PASS_REGULAR_EXPRESSION "Received flag: 2 (2) times" "Some value: 1.2") +add_test(NAME simple_v...
2
2
1
[{"id": "G0", "claim": "The default version flag should not include \"-v\", since -v is commonly used for verbose by programs (cp, rm, wget, curl, mv) and would collide with that meaning.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The version(string)...
null
CLIUtils__CLI11__484
CLIUtils/CLI11
484
defect
2b059cbdbe844450e1675a5dda3cb8acb1147631
9c4d7c0ba923e9043b5c564e351581fcb8f8750f
Allow_extra args and single vector argument
allow the use of `allow_extra_args(false)` to specify only a single argument at a time with a vector output. based on [gitter conversation](https://gitter.im/CLI11gitter/Lobby?at=5ef1f99047fdfd21edde2901) Including operation tweak and test case
diff --git a/README.md b/README.md index d3552752b..af480bd04 100644 --- a/README.md +++ b/README.md @@ -322,6 +322,7 @@ Before parsing, you can set the following options: - `->ignore_case()`: Ignore the case on the command line (also works on subcommands, does not affect arguments). - `->ignore_underscore()`: Ig...
3
3
1
[{"id": "G0", "claim": "Add a short comment above the new max_num limiting block in include/CLI/App.hpp explaining, like the block below it, what it is there for.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an emoji to the new allow_extra_a...
null
CLIUtils__CLI11__526
CLIUtils/CLI11
526
defect
97e5ebe4906221ba0666608a842f4e3e28c544ac
928e7abb632b5603f7dec802b1a31b0bb2b45868
add a type validator
add a typed Validator that checks for specific types conversion. This could be useful if a storage variable was not used for the option but the result needs to be a specific type. This is to address the issue raised in #492 Also move the number validator to use the typed checker instead of a separate class.
diff --git a/README.md b/README.md index f10248e5a..0177955f9 100644 --- a/README.md +++ b/README.md @@ -409,6 +409,7 @@ CLI11 has several Validators built-in that perform some common checks - `CLI::NonNegativeNumber`: Requires the number be greater or equal to 0 - `CLI::Number`: Requires the input be a number. ...
1
1
0
[{"id": "G0", "claim": "Delete the commented-out Number class block that the pull request wraps in /* */ instead of leaving it in the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CLIUtils__CLI11__528
CLIUtils/CLI11
528
defect
97e5ebe4906221ba0666608a842f4e3e28c544ac
34d2b09fba9ba82b2cd98e8110f7dfad734518b9
Adds multilines array support
Hi, first try to make a pull request. Support multilines array added with unit tests.
diff --git a/include/CLI/Config.hpp b/include/CLI/Config.hpp index 5a982236c..4246ae407 100644 --- a/include/CLI/Config.hpp +++ b/include/CLI/Config.hpp @@ -211,7 +211,11 @@ inline std::vector<ConfigItem> ConfigBase::from_config(std::istream &input) cons if(pos != std::string::npos) { name = detai...
1
1
0
[{"id": "G0", "claim": "The multiline loop should call std::getline instead of unqualified getline.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CLIUtils__CLI11__529
CLIUtils/CLI11
529
defect
97e5ebe4906221ba0666608a842f4e3e28c544ac
f246a1710365fbc3feefab2f15909a0f72c64a2b
Silent subcommands
add a silent option to subcommands to prevent the use from showing up in the subcommands list if used. This is in response to Issue #522. Adds an ability to silence subcommands and prevent them from showing up in the used subcommands list. This allows things like ```c++ auto sub1 = app.add_subcommand("he...
diff --git a/README.md b/README.md index f10248e5a..c78bd15e8 100644 --- a/README.md +++ b/README.md @@ -559,6 +559,7 @@ There are several options that are supported on the main app and subcommands and - `.disable()`: Specify that the subcommand is disabled, if given with a bool value it will enable or disable the s...
3
3
0
[{"id": "G0", "claim": "The new documentation sentence should have a period after 'modifiers' and a comma after 'For example'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new silent_ member should be moved up next to the other 8-bit members...
null
CLIUtils__CLI11__584
CLIUtils/CLI11
584
defect
4af78beef777e313814b4daff70e2da9171a385a
53124d937c93a48446f33b49b959d66749f74d0b
fix: remove duplicated call to subcommand's final_callback
Fixes #572.
diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index edbe2b738..6361430a9 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -113,6 +113,7 @@ class App { /// This is a function that runs when parsing has finished. std::function<void()> parse_complete_callback_{}; + /// This is a func...
1
1
1
[{"id": "G0", "claim": "A little test should be added covering the fix that removed the duplicated call to the subcommand's final_callback.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
CLIUtils__CLI11__631
CLIUtils/CLI11
631
defect
4d34311cb16a42487c9f1ce587f25ebada5a2bb3
be3ed84704933f94613c3f6c710163017e84f53f
add a more clear force callback
and callback on parse modifier for options. The method of forcing a callback that exists is not clear from the issues raised around it. This should clarify that ability and make it more explicit. It also adds an ability to trigger the callback for each parse of an option. This opens up new avenues of processing...
diff --git a/README.md b/README.md index 3fb84f7e8..c77606435 100644 --- a/README.md +++ b/README.md @@ -336,10 +336,12 @@ Before parsing, you can set the following options: * `->required()`: The program will quit if this option is not present. This is `mandatory` in Plumbum, but required options seems to be a more ...
1
1
0
[{"id": "G0", "claim": "The doc comment above get_inject_separator should read 'Return the inject_separator flag' with a capital R, matching the comment style of the neighboring getters.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CLIUtils__CLI11__698
CLIUtils/CLI11
698
defect
a5498bed17a20771d326b60c8533295a7695be38
fe1d7d9daefb6bf0fa4123f0108eac3f73beb380
Add a transform/validator that checks for files on a default path.
This is an alternative to #684 and closes #682. It add a transform/validator that checks for a file and on a default path. This if used with a config ptr can be used to add a default path, or any number of default paths for that matter. I think it has the same capabilities as #684 without adding any additional ...
diff --git a/README.md b/README.md index 0e8c77f50..750e3d324 100644 --- a/README.md +++ b/README.md @@ -428,6 +428,7 @@ CLI11 has several Validators built-in that perform some common checks * `CLI::ExistingDirectory`: Requires that the directory exists. * `CLI::ExistingPath`: Requires that the path (file or director...
4
3
0
[{"id": "G0", "claim": "The README example code block needs a blank line after it before the closing fence/text for correct formatting.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A few construction emojis should be added to the documentation f...
null
CLIUtils__CLI11__709
CLIUtils/CLI11
709
defect
10f3ab90251623a4d74dc347fc5dd82c01a946d1
13da28e99d68dd4f7640e9fd27f9cc24eab27355
Counting flags
This should address #694. There was a simple way to address #694 by adding increasingly complex enable_if discriminations with the type, but that didn't really address what I consider to be the heart of the issue, which is that flags are treated different depending on the type and that can result in unexpected beh...
diff --git a/README.md b/README.md index 6b45a5502..c79779429 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ While all options internally are the same type, there are several ways to add an app.add_option(option_name, help_str="") app.add_option(option_name, - variable_to_bind_to, // bool,...
2
2
0
[{"id": "G0", "claim": "The new multi-option-policy value list in README.md is badly formatted and should be rewritten per the suggestion block (spaces after commas, 'and' before the last value, space before the 🚧 marker).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
CLIUtils__CLI11__786
CLIUtils/CLI11
786
defect
a66ae4145779c56dc0f9f98a631656417dd77de8
1da3228bb82f08382d35045036fde6d2806d5fa5
feat: added usage message replacement feature
## Usage message replacement Now you able to set custom usage message or pass callback function that will generate it for you. Example: ```c++ CLI::App app{"app v1"}; app.usage("use: [-h|--help] | --option UINT"); ``` Output will be: ```text app v1 use: [-h|--help] | --option UINT Options: -h,...
diff --git a/README.md b/README.md index 05a380860..9c207bf86 100644 --- a/README.md +++ b/README.md @@ -1062,6 +1062,10 @@ option_groups. These are: - `.prefix_command()`: Like `allow_extras`, but stop immediately on the first unrecognized item. It is ideal for allowing your app or subcommand to be a "prefix" t...
1
1
1
[{"id": "G0", "claim": "Having both a `usage_` string and a `usage_callback_`, both settable from the same `usage()` overloads and both potentially showing up (and usage inherited like footer), is confusing; it would be better to keep only a `usage_callback_`, with `usage(std::string)` wrapping the string in a callback...
null
CLIUtils__CLI11__804
CLIUtils/CLI11
804
defect
c2ea58c7f9bb2a1da2d3d7f5b462121ac6a07f16
9240c3899e3a94e4bd533bfb3d10b8bd2fa4148c
feat: unicode support
Fixes #14 as discussed. Some notes: - Since necessary facilities were already in place, I also added support for wide strings as options. - I had difficulties coming up with a good API for this. It would not be a good idea to conditionally throw away `argc` and `argv` in favor of GetCommandLineW, because `argv` ...
diff --git a/.gitignore b/.gitignore index cc1b9d0c7..6f8a8d040 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,10 @@ a.out* /CMakeFiles/* /cmake_install.cmake /*.kdev4 +/.vscode /html/* !/meson.build +/CMakeUserPresets.json /node_modules/* /package.json diff --git a/CLI11.hpp.in b/CLI11.hpp.in index 83f22...
3
1
1
[{"id": "G0", "claim": "If the content of the new SlimWindowsH.hpp was copied from elsewhere, its source must be cited and its license confirmed compatible.", "category": "licensing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pre-existing 'set' marker at the end of Con...
null
CLIUtils__CLI11__876
CLIUtils/CLI11
876
defect
4a14b78ff44ee4e25105d0ec7d6fc1fbd7bbca5e
087b997cb78adbfe588f32ebb4850ad4f38b314b
prioritize wide strings over strings on MSVC
to handle `std::filesystem::path` better widestring operations should be preferred over regular strings. Fix Issue #875
diff --git a/include/CLI/TypeTools.hpp b/include/CLI/TypeTools.hpp index 9d43ea361..c0b90ee75 100644 --- a/include/CLI/TypeTools.hpp +++ b/include/CLI/TypeTools.hpp @@ -612,6 +612,8 @@ template <typename T> struct classify_object<T, typename std::enable_if<std::is_ template <typename T> struct classify_object<T, ...
2
1
1
[{"id": "G0", "claim": "The newly added filesystemWideName test fails on Ubuntu 20.04 with a filesystem 'Cannot convert character sequence: Invalid or incomplete multibyte or wide character' error when built with -DCMAKE_CXX_STANDARD=17 or 20, so the PR's wstring-prioritisation change breaks on Linux.", "category": "co...
null
CLIUtils__CLI11__893
CLIUtils/CLI11
893
defect
84cad16974c4de194d0fc7bf64032c43efffefbc
0f4ace136aae8fd3e0804fa9434c0433229f5d72
Fix possible UB in the sum_string_vector function (TypeTools.hpp)
Fixes #892 (+ uses safe comparison for double values via epsilon) https://cpp.godbolt.org/z/Yfje6encG
diff --git a/include/CLI/TypeTools.hpp b/include/CLI/TypeTools.hpp index 558c5d218..e5c3be012 100644 --- a/include/CLI/TypeTools.hpp +++ b/include/CLI/TypeTools.hpp @@ -1649,9 +1649,9 @@ inline std::string sum_string_vector(const std::vector<std::string> &values) { output.append(arg); } } els...
3
3
1
[{"id": "G0", "claim": "The rewritten condition in sum_string_vector may not print correctly for values at std::int64_t min/max and may not do what is intended, leaving a gap where std::ceil(val) == std::floor(val) is guaranteed true.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
COOL-cohort__COOL__101
COOL-cohort/COOL
101
defect
85515883bd5dcccc540971d2b3f0499b363047fe
3939e00a2f4cc4ba906cba09e43e872c33cd05ba
refactored OLAP
1. Refactor the OLAP processing. 2. Remove some duplication . 3. Add more tests for OLAP query 4. Update the TimeDelimiter to "-" and min-max delimiter to " to "
diff --git a/cool-core/src/main/java/com/nus/cool/core/cohort/TimeUtils.java b/cool-core/src/main/java/com/nus/cool/core/cohort/TimeUtils.java index 9dc8380a..afc10d92 100644 --- a/cool-core/src/main/java/com/nus/cool/core/cohort/TimeUtils.java +++ b/cool-core/src/main/java/com/nus/cool/core/cohort/TimeUtils.java @@ -5...
15
12
2
[{"id": "G0", "claim": "Adding the UserKey/ActionTime schema names to projectedSchemaSet inside process() may be redundant, since the constructor already fills projectedSchemaSet from the query layout.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
COOL-cohort__COOL__19
COOL-cohort/COOL
19
defect
3370c79645b6b86e78b826a71da949e835ef5f7f
2f321224e52ddbefeb5db5212f4080e05999f89e
Cohort Exploration
Summary: This PR adds basic support for cohort exploration by displaying the records of a cohort created from a previous cohort selection. Description: Cohort exploration aims to let users inspect the records from a cohort of users, either visually or by exporting them to portable formats for further analysis. Curre...
diff --git a/README.md b/README.md index 51bd0854..741280b2 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,11 @@ where the three arguments are as follows: 2. `health`: the cube name of the compacted dataset 3. `health/query1-0.json`: the json file for the cohort query +- Display the selected all records of t...
2
1
1
[{"id": "G0", "claim": "The PR should add a writer object that adds (stores) the exported data instead of just displaying it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A second writer should be added that writes the exported data into a new cube.", ...
null
COOL-cohort__COOL__37
COOL-cohort/COOL
37
defect
ab2fc1691b0c83d830a355c74e11c0fe3f5f51e3
a93a884f36d2aee027e020875a8fe4dc39b43460
Clean Code and Add UnitTest for RangeField.
- Add UnitTest for RangeField, mainly including two types of RangeField: ActionTime, Metric. - Add helper function which can help insert data when testing. - Optimize some operation.
diff --git a/cool-core/src/main/java/com/nus/cool/core/io/writestore/RangeFieldWS.java b/cool-core/src/main/java/com/nus/cool/core/io/writestore/RangeFieldWS.java index 33ed557d..09d40cc7 100644 --- a/cool-core/src/main/java/com/nus/cool/core/io/writestore/RangeFieldWS.java +++ b/cool-core/src/main/java/com/nus/cool/co...
1
1
0
[{"id": "G0", "claim": "The commented-out debug printf lines in RangeFieldTest.java should be removed before the pull request can be merged.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
COOL-cohort__COOL__40
COOL-cohort/COOL
40
defect
ffe7de609b56c7e43b736cfbf57df80d2f66895d
fcff46037ad45c720f820a35ebe2018d9a220607
Add chunk unit Test
Main Change - Generate three dataset for chunk unittest, which randomly choose 256 data item from main datasets respectively. - Add chunk unittest, which test `ChunkWS` `ChunkRS` `MetaChunkWS` `MetaChunkRS` Trival Modification - unify the name of testdata which is generate for field unittest. - add a static me...
diff --git a/cool-core/src/main/java/com/nus/cool/core/util/parser/CsvTupleParser.java b/cool-core/src/main/java/com/nus/cool/core/util/parser/CsvTupleParser.java index 57a89a4f..e6e8cb85 100644 --- a/cool-core/src/main/java/com/nus/cool/core/util/parser/CsvTupleParser.java +++ b/cool-core/src/main/java/com/nus/cool/co...
3
3
0
[{"id": "G0", "claim": "The static Parse method added to CsvTupleParser is unnecessary — the TupleParser interface has no static method so it would never be used — and the non-static parse should be used instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
COOL-cohort__COOL__43
COOL-cohort/COOL
43
defect
fe4622986550c8c4c084acdbcff1a0b1c13a05b4
1e848d77e68ac7116a25e92662bf90acb440bbf0
Add Log Part.
I choose logback to implement the interface of slf4j. - add dependency in pom.xml under root directory. - add configuration for log in test part, which can control all logger in class under cool-core. However, I only recommend add logger in test class. For classes under main, add logger will affect efficiency, which ...
diff --git a/cool-core/src/main/java/com/nus/cool/core/io/readstore/ChunkRS.java b/cool-core/src/main/java/com/nus/cool/core/io/readstore/ChunkRS.java index 4db7b111..255c80ab 100644 --- a/cool-core/src/main/java/com/nus/cool/core/io/readstore/ChunkRS.java +++ b/cool-core/src/main/java/com/nus/cool/core/io/readstore/Ch...
4
2
0
[{"id": "G0", "claim": "The disabled System.out.println statements in ChunkRS.readFrom should be deleted rather than left as commented-out code.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added logback-test.xml file is missing a ne...
null
COOL-cohort__COOL__49
COOL-cohort/COOL
49
defect
fdd034f5a581fe64f8626faeefb638969933ac71
b31a5b442444211ff1b87a2c47336c88a9123b7c
Update cool model unit test
Separate the CoolModelTest into different unit tests.
diff --git a/.gitignore b/.gitignore index 7122cfae..9833cf4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ # idea .idea/ +tree.txt +*/tree.txt # product target/ @@ -17,5 +19,9 @@ dependency-reduced-pom.xml # dataset source files datasetSource/ +# log file +cool.log +*/cool.log + .DS_Store NOTICE...
5
4
2
[{"id": "G0", "claim": "The initial min/max/count values in the aggregators were changed to float while InputVector::get returns int, so the result map should be switched back to int.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the comment...
null
COOL-cohort__COOL__70
COOL-cohort/COOL
70
defect
bdc8c2bf1c4452fb8802b6a6774248b2d91180df
4dd6ad14e4424dc8ca75bb2b614073342b2c77fd
test case for AvroDataLoaderConfig
1. update constructor of AvroDataLoaderConfig 2. add test case for AvroDataLoaderConfig
diff --git a/cool-core/src/test/java/com/nus/cool/result/ResultTupleTest.java b/cool-core/src/test/java/com/nus/cool/result/ResultTupleTest.java new file mode 100644 index 00000000..2cf71cd1 --- /dev/null +++ b/cool-core/src/test/java/com/nus/cool/result/ResultTupleTest.java @@ -0,0 +1,39 @@ +package com.nus.cool.resul...
1
1
1
[{"id": "G0", "claim": "The new test files must live under a path starting with `src/test/java/` (e.g. `/src/test/java/com/nus/cool/extension/util/arrow/ArrowRowViewTest.java`), because maven compiling relies on this folder path.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
COOL-cohort__COOL__75
COOL-cohort/COOL
75
defect
34d60e8f3ac5770010cedccfa84eebde91d855ac
8e4c7559c72fa6c55ce0aebbe3151577295cfd42
Add cube meta
This PR aims to address Issue #67 . The overall plan is to add a cubemeta file that describes the value ranges of each field of a cube. The metachunk of each cublet will only have relevant information of its cublet. (This also implies that the same string value of the same field can have different id in different cu...
diff --git a/cool-core/src/main/java/com/nus/cool/core/io/readstore/CubeMetaRS.java b/cool-core/src/main/java/com/nus/cool/core/io/readstore/CubeMetaRS.java new file mode 100644 index 00000000..d87c3d76 --- /dev/null +++ b/cool-core/src/main/java/com/nus/cool/core/io/readstore/CubeMetaRS.java @@ -0,0 +1,188 @@ +package...
1
1
1
[{"id": "G0", "claim": "In MetaHashFieldWS.writeCubeMeta the values are stored via fieldValues at the position where the latest version of dev stores hashToTerm, so the order of the storage needs to be checked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
COOL-cohort__COOL__91
COOL-cohort/COOL
91
defect
34d60e8f3ac5770010cedccfa84eebde91d855ac
e77ecf639d90a4b0d99e34c6f9fcdc0c13f98d93
Remove redundant data with refactored code.
Merge the removing_redundant_data branch into the refactored branch.
diff --git a/cool-core/src/main/java/com/nus/cool/core/cohort/ExtendedCohortAggregation.java b/cool-core/src/main/java/com/nus/cool/core/cohort/ExtendedCohortAggregation.java index f43fb624..dc90464c 100644 --- a/cool-core/src/main/java/com/nus/cool/core/cohort/ExtendedCohortAggregation.java +++ b/cool-core/src/main/ja...
18
15
4
[{"id": "G0", "claim": "The pull request should not update or use the two files under the cohort folder (ExtendedCohortAggregation.java and ExtendedCohortSelection.java) as it does.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added ageAggreg...
null
COVESA__dlt-daemon__566
COVESA/dlt-daemon
566
defect
f74e548ba3b7cf989d4b80bcb918f31840d980ae
79906d7a9ca34a1a3a8270282f36e594898ccb47
src: refactoring current implementation
+ Remove dead code + Add NULL variables and failed processes detection + Assign delimiters to const char type + Handle multithread cancellation
diff --git a/src/console/dlt-control-common.c b/src/console/dlt-control-common.c index d200de49c..b3c8e3219 100644 --- a/src/console/dlt-control-common.c +++ b/src/console/dlt-control-common.c @@ -663,8 +663,17 @@ int dlt_control_deinit(void) close(g_client.receiver.fd); g_client.receiver.fd = -1; ...
4
3
1
[{"id": "G0", "claim": "Code scanning reports a time-of-check time-of-use filesystem race: absolute_file_path is checked with stat and later removed or reopened, so the underlying file may have changed in between.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
COVESA__vss-tools__104
COVESA/vss-tools
104
defect
d5f5d06e43ef9526e262c18165614281f4306ba9
5827c01fcb342912def8e04085ec46482c92db56
Adding support for units checking as metadata
Solves #91, Closes #76 This is an implementation that unifies constant types. Units extend from a special meta class `VSSEnumMetaConfigurable` that loads the file `config.yaml` and has a method `add_config` that can add units at any point. Here follows de descritpion on a way to add units. Normal units will be ...
diff --git a/tests/model/test_contants.py b/tests/model/test_contants.py index 139cdc508..068e0c696 100644 --- a/tests/model/test_contants.py +++ b/tests/model/test_contants.py @@ -31,36 +31,37 @@ def test_units(self): Test correct parsing of units """ - self.assertEqual(Unit.MILIMETER, Unit....
10
10
6
[{"id": "G0", "claim": "The mechanism of reading the config section name out of the class dict via `classdict['__config_name__']` needs replacing.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`CONFIG_PATH = pkg_resources.resource_filename('vspec', 'con...
null
COVESA__vss-tools__203
COVESA/vss-tools
203
defect
de88c8aec035bfb66a49f4c334a7ffb34ce69d76
55fcb362b2869dcd037a6526f898e4f983089968
Add support for overlays on instances
Fixes #201
diff --git a/docs/vspec2x.md b/docs/vspec2x.md index 441f651f3..cb875a266 100644 --- a/docs/vspec2x.md +++ b/docs/vspec2x.md @@ -20,8 +20,7 @@ usage: vspec2x.py [-h] [-I dir] [-e EXTENDED_ATTRIBUTES] [-s] [--abort-on-unknow A common commandline to convert the VSS standard catalog into a JSON file is ``` -% python v...
2
2
1
[{"id": "G0", "claim": "The two comments above the expansion loop stating that a node excluded via instantiate:false stays at the current parent and the rest go with the instantiation are obsolete/misaligned now, because at least that handling is no longer done there.", "category": "documentation", "verdict": "supporte...
null
COVESA__vss-tools__233
COVESA/vss-tools
233
defect
a53e03470d07dd3454b0e00b4e80f0074e20ec04
e2dd5956301402688c470505f4a3d945e70e221a
Test case: Warn when data type is specified for struct nodes
## Description Data type does not make sense for struct type nodes as they themselves are for defining higher order types. In this PR, we ensure that a warning message is provided to the user if they try to set a data type on a struct node. ## Testing - Add pytest - All pytests succeeded
diff --git a/tests/vspec/test_structs/VehicleDataTypesStructWithDataType.vspec b/tests/vspec/test_structs/VehicleDataTypesStructWithDataType.vspec new file mode 100644 index 000000000..006d312e6 --- /dev/null +++ b/tests/vspec/test_structs/VehicleDataTypesStructWithDataType.vspec @@ -0,0 +1,25 @@ +VehicleDataTypes: + ...
1
1
0
[{"id": "G0", "claim": "The new test's docstring is a copy/paste error that refers to the other test case instead of describing this test.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
COVESA__vss-tools__253
COVESA/vss-tools
253
defect
2d374567738a3fc508e1a906aeca8d00a672653e
cc4c3685e77cc49c779db7aacc60f09ac3a61a5f
Struct support for CSV and YAML exporters
## Description Export struct data types in YAML and CSV. The implementation is identical to JSON. ### Other changes: 1. Exclude generated CSV files from trailing whitespace check of precommit hook 2. Add "default" attribute of the VSS node to the CSV exporter 3. Remove duplicate newline at the end of CSV file ad...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index abe6b2a96..c0855b7af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,7 @@ repos: rev: v3.2.0 hooks: - id: trailing-whitespace + exclude_types: ["csv"] - id: end-of-file-fixer - id: ch...
2
2
1
[{"id": "G0", "claim": "The line-break policy for the generated JSON output files should be agreed and, if JSON files are not to get a line break, all JSON files should be excluded from the pre-commit hooks just like csv.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
COVESA__vss-tools__258
COVESA/vss-tools
258
defect
8c3f0f950787e1b3d1949b61051b73cd7df5bd3b
570b215fa23564e4dc5144fc57d2b9c5e25518ad
Provide the option to output structs in a separate file or consolidated
## Summary Allow the user to choose how they want to output structs: 1. Separate files - Current behavior 2. Consolidate with signal file - New behavior ### Consolidation Logic: 1. CSV : Concatenation with the first column using a generic heading called "Node" 2. YAML/JSON : The struct data types are nested und...
diff --git a/tests/vspec/test_structs/expected-signals-types.csv b/tests/vspec/test_structs/expected-signals-types.csv new file mode 100644 index 000000000..53c6ebfe8 --- /dev/null +++ b/tests/vspec/test_structs/expected-signals-types.csv @@ -0,0 +1,17 @@ +"Node","Type","DataType","Deprecated","Unit","Min","Max","Desc"...
4
2
0
[{"id": "G0", "claim": "The design decision to place type declarations in a dedicated branch (and the consolidated-output behavior of vspec2x.py) should be better described in the documentation, in particular docs/vspec2x.md.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"...
null
COVESA__vss-tools__326
COVESA/vss-tools
326
defect
5343e9c0884df93dc1ae6a067f60ea4fdbc4fb44
9cc74b4c5a8d5450e4d0ee0e41e594a777a63bba
Update static UID fka functionality.
- improve backward compatibility - include strict mode = case sensitive for the semantic check - include additional tests
diff --git a/docs/vspec2id.md b/docs/vspec2id.md index 0de0592d..e948de64 100644 --- a/docs/vspec2id.md +++ b/docs/vspec2id.md @@ -1,6 +1,6 @@ # vspec2id - vspec static UID generator and validator -The vspecID.py script is used to generate and validate static UIDs for all nodes in the tree. +The vspec2id.py script i...
1
1
0
[{"id": "G0", "claim": "The usage line in docs/vspec2id.md should drop options that have no impact and will not be allowed after the reviewer's vss-tools restructuring PR is merged, such as --yaml-all-extended-attributes and --gqlfield GQLFIELD.", "category": "documentation", "verdict": "supported", "priority": "P2", "...
null
COVESA__vss-tools__348
COVESA/vss-tools
348
defect
f3aa9532924767700260222d7be8d618a37b32c2
c357d321a13bf7d3498aad3f358ee2dca117d2cb
add removal of nodes / branches v2
This is a squashed and rebased version of PR https://github.com/COVESA/vss-tools/pull/342, please follow the link for more details
diff --git a/docs/vspec2x_arch.md b/docs/vspec2x_arch.md index fbc69881..8082b0a1 100644 --- a/docs/vspec2x_arch.md +++ b/docs/vspec2x_arch.md @@ -1,7 +1,5 @@ # vspec2x Design Decisions, Architecture and Limitations - - ## Overlays Each overlay is treated as a separate tree and merged (after expansion) on the ex...
3
2
0
[{"id": "G0", "claim": "The documentation examples for deleting a node or a branch should not need to repeat all the other elements of the node (and should clarify whether those elements have to match).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
COVESA__vss-tools__352
COVESA/vss-tools
352
defect
e05aa186e5f92348e182956755f643b2800c00e5
1bc798bbc80a4907bb8c86f9ba3ca18d48938caf
add const UID attribute to allow constant IDs
Hi this PR adds `constUID` attribute to allow overwriting generated static UIDs, as for static UID this is a 4-byte hex identifier. Please see test `test_const_id` for more details
diff --git a/tests/vspec/test_static_uids/test_static_uids.py b/tests/vspec/test_static_uids/test_static_uids.py index b52b3d5e..c1f4d2bf 100644 --- a/tests/vspec/test_static_uids/test_static_uids.py +++ b/tests/vspec/test_static_uids/test_static_uids.py @@ -27,14 +27,24 @@ # HELPERS -def get_cla_test(test_file: s...
4
3
2
[{"id": "G0", "claim": "The overlay branch of get_cla_test should not pass --only-validate-no-export while the non-overlay branch does, so that the two variants behave in the same way (both generate files) — or a separate option should control that.", "category": "testing", "verdict": "supported", "priority": "P1", "sc...
null
COVESA__vss-tools__371
COVESA/vss-tools
371
defect
e9fd21efff0a66dee1a48cb0c91e412ea9112aa8
b377ff2337ff6272e1b66673377450c71a708ae4
Added logging args for level and file
# About Improved logging capabilities with: - Added argument for controlling the log levels via `--log-level` with "INFO" as default - Added argument for writing logs additionally into a log file with `--log-file` - Using a `log` instance Unrelated: - Cleaned up docs to be up to date with changes regarding p...
diff --git a/src/vss_tools/__init__.py b/src/vss_tools/__init__.py index 31f95c9fa..af2c11c3b 100644 --- a/src/vss_tools/__init__.py +++ b/src/vss_tools/__init__.py @@ -5,3 +5,14 @@ # https://www.mozilla.org/en-US/MPL/2.0/ # # SPDX-License-Identifier: MPL-2.0 +import logging +from rich.logging import RichHandler + +...
1
1
1
[{"id": "G0", "claim": "Add information about the new --log-level and --log-file arguments to docs/vspec2x.md.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
COVESA__vss-tools__398
COVESA/vss-tools
398
defect
b0ca4b6b3d692ec9af49d480367f7a71c53d907d
694dfbc0a6a6a2cb646d5965f5016a29dc5caa63
🐞 Exporting null values of given extended attributes
# About Extended user attributes given with `-e` should always be exported, even if they contain `null` values. This was the case for the last release. The recent core refactoring changed the behavior and filters all null values. Therefore this change here that handles extended attributes in a special way and not i...
diff --git a/src/vss_tools/vspec/model.py b/src/vss_tools/vspec/model.py index f28aa5826..b12414048 100644 --- a/src/vss_tools/vspec/model.py +++ b/src/vss_tools/vspec/model.py @@ -85,13 +85,21 @@ def as_dict( self, with_extra_attributes: bool = True, exclude_fields: list[str] = EXPORT_EXCLUD...
2
2
1
[{"id": "G0", "claim": "A test for the pull request's changed null-value export behaviour should be added (raised as a bonus goal).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `and k` clause on the empty-list check in as_dict appears unnecessary;...
null
COVESA__vss-tools__426
COVESA/vss-tools
426
defect
2f1a98472b37d6f5dc114daa01586aefd76ef60d
62a03da4b838d4909573ff3167ce677adaee11df
Add support for handling of RegularExpression definitions for string based properties
Add support for handling of RegularExpression definitions for string based properties. The idea is to be able to specify a Regular Expression field, where we can define a RegExp string, which can be used for string based property specifications. An example would be the **Vehicle.VehicleIdentification.VIN** which ...
diff --git a/src/vss_tools/exporters/samm/helpers/samm_concepts.py b/src/vss_tools/exporters/samm/helpers/samm_concepts.py index 9a8a13d69..85b4b277a 100644 --- a/src/vss_tools/exporters/samm/helpers/samm_concepts.py +++ b/src/vss_tools/exporters/samm/helpers/samm_concepts.py @@ -53,6 +53,7 @@ class SammConcepts(Enum):...
6
5
3
[{"id": "G0", "claim": "The pull request needs a model validator for `pattern` that fails when `pattern` is defined and the datatype is not a string, or when a `default` is set that does not match it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "h...
null
COVESA__vss-tools__438
COVESA/vss-tools
438
defect
770a7a39aec669d1f89d3ca0a75dab0a804503fc
25e720b0fc1876bea6e0a5ff48d1df772730b3e3
feat: Add support for extended attributes to the CSV exporter.
Added support for extended attributes to the `CSV` exporter. For example: Input spec: ```yaml Root: type: branch description: Root branch Root.BranchA: type: branch description: Branch A Root.BranchA.PropertyA: type: attribute datatype: string description: Property A cfA: A ...
diff --git a/docs/vspec.md b/docs/vspec.md index 20591f0e7..fc33ba825 100644 --- a/docs/vspec.md +++ b/docs/vspec.md @@ -329,7 +329,7 @@ In this case the expectation is, that the generated output will contain the whit > [!WARNING] > Not all exporters (need to) support (all) extended metadata attributes! -> Currentl...
1
1
1
[{"id": "G0", "claim": "The newly added tests/vspec/test_extended/expected.csv is not used by any test, and a few lines should be added to tests/vspec/test_extended/test_extended.py so the csv exporter actually runs for the extended-attribute test and its output is compared against this file.", "category": "testing", "...
null
COVESA__vss-tools__446
COVESA/vss-tools
446
defect
039f189a6fb85b4ddbc272c00ae41489f01dae14
dbf1183460d4bab299a0bca724e493e0300c2a94
fix: removed min/max array limitation
# About Removed limitation of `min`/`max` being not valid for array datatypes. Added support for checking `default` against `min`/`max` which means for arrays to check every value to be in the defined min max boundary fixes #444
diff --git a/src/vss_tools/model.py b/src/vss_tools/model.py index 92165012c..9d9a543a9 100644 --- a/src/vss_tools/model.py +++ b/src/vss_tools/model.py @@ -213,8 +213,6 @@ def check_min_max_valid_datatype(self) -> Self: Datatypes.is_subtype_of(self.datatype, Datatypes.NUMERIC[0]) except D...
5
4
3
[{"id": "G0", "claim": "Add test cases covering min/max values for array as well as regular plain datatypes, which the pull request then lacked.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test file must be named test_model.py (or similar), o...
null
COVESA__vss-tools__67
COVESA/vss-tools
67
defect
8b2303cb951b963f9adb1ccfa59e9db822a0439e
e6d1bf51f432b1de3b06c85fd4a488571a398006
Install fixes
Removed unused dependencies from `requirements.txt`, update Python version to 3.7 in `setup.py` and fix the installation of the package. Last but not least, add the `Pipfile` and instructions on how to use `pipenv`. Unfortunately the existing layout of a single `vspec.py` file and a `model/` directory does not match...
diff --git a/Pipfile b/Pipfile new file mode 100644 index 000000000..2f326af38 --- /dev/null +++ b/Pipfile @@ -0,0 +1,17 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +anytree = ">=2.8.0" +stringcase = ">=1.2.0" +deprecation = ">=2.1.0" +pytest = ">=2.7.2" +PyYAML = ">=...
2
2
1
[{"id": "G0", "claim": "Pipfile's python_version = \"3.7\" would make pipenv fail on Ubuntu LTS where the default Python is 3.8.5, and the reviewer suggests using \"3\" instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README's CSV generat...
null
COVESA__vss-tools__7
COVESA/vss-tools
7
defect
51757b5983c42380fef954215ee4769dd470db5c
2c7f6856f43f3a6f62bb7145a78fc4c21507f92a
Feature/typesafe parsing
Still a preview, so please don't merge yet. Improves issue described here: https://github.com/GENIVI/vss-tools/issues/5 I'd like to ask for comments (e.g., @danielwilms @gunnarx @magnusfeuer) What's still missing: * Additional tests on nested structures * Additional documentation * Versioning for proper deprec...
diff --git a/README.md b/README.md new file mode 100644 index 000000000..9403406da --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +# VSS Tools Usage + +## Contents +1. Prerequisites +2. Project Setup +3. Run Project + +## 1. Prerequisites +* Python 3.7 installed +* If executed behind a corporate proxy http_proxy and ht...
2
2
0
[{"id": "G0", "claim": "The README proxy note should be reworded so it is clear the proxy setup is only relevant when installing prerequisites with pip, not for executing the VSS Tools themselves.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
COVESA__wayland-ivi-extension__148
COVESA/wayland-ivi-extension
148
defect
b090cb09fbf7fec9e18fc76c5ba31ac9adc76e74
11fb97134f9f95af0c795fa2df05502b8400f90b
Support get name of seat default from ini
ivi-input-modules: read default seat name from weston.ini file On weston 10, the default seat name is "default". Recently, the wayland backend is using the 'seat0' is the default seat name. This made unexpectations on the input examples and tests. To avoid this situation in the future, the default seat name ...
diff --git a/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c b/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c index 82900dc2..484637d2 100644 --- a/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c +++ b/ivi-input-modules/ivi-input-controller/src/ivi-input-controller...
5
1
1
[{"id": "G0", "claim": "Use a fixed version number in the ivi_wm wl_global_create call (a conscious decision) and add a test that verifies the server populates the proper version value.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Check whether udev de...
null
COVESA__wayland-ivi-extension__158
COVESA/wayland-ivi-extension
158
defect
caa58f7d7a2b459e402081731510c3245e1d16ca
5dd98abf870f20d2ec051233e07cd060bfd62dc0
ivi-controller: support to setting desktop surface id earlier
On weston 11, with the commit [1], the ivi-layout emits the surface create event for desktop surface is earlier. This make the sequence issue when id-agent hasn't already setup the surface id for desktop surface, but the ivi-controller is going to send the surface create event to client with INVALID id. [1] https...
diff --git a/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt b/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt index e9544eff..74776172 100644 --- a/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt +++ b/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt @@ -27,6 +27,7 @@ pkg_check_modules(WESTON weston>=6.0.0 REQUIRED...
7
4
1
[{"id": "G0", "claim": "The new `if (!weston_surface_has_content(w_surface))` guard in surface_event_configure may be unnecessary, since the desktop_surface_configured event is emitted when there is actual content anyway.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id"...
null
CSML-by-Clevy__csml-engine__252
CSML-by-Clevy/csml-engine
252
defect
eaf999e1173ebb15ff5ea86fbfa7a1b3da484fa7
b393f6d6d0e6ef739f6ab8cede4b53852b73f796
feat: bot env vars
Fixes #164 ## Proposed Changes - [add] bot env vars handling - [add] backwards compatibility between bot serialization methods
diff --git a/csml_engine/examples/command_line.rs b/csml_engine/examples/command_line.rs index 8f740194..d6674a26 100644 --- a/csml_engine/examples/command_line.rs +++ b/csml_engine/examples/command_line.rs @@ -60,6 +60,7 @@ fn init_bot() -> CsmlBot { custom_components: None, default_flow: "flowid".to...
1
1
0
[{"id": "G0", "claim": "Add explanatory comments to the newly added serialization structs explaining why they are necessary, and rename TMPSerializeCsmlBot (and the similar TMPDynamoBot) to something more suitable, such as SerializeBincodeEncodedCsmlBot, or at least document why they are temporary and when they can be ...
null
CSSLint__csslint__368
CSSLint/csslint
368
defect
0e85f26fa80d2da9bef8b181a6dcbe367d7afc38
43b70f93b6f69c60127c111dd006c6cbcf3f6b26
First cut of Grunt build
- Left the Ant build in place with a minor update to the new package.json location - Minor linting issues fixed - Using Node version of parser-lib for concatenation with a shim for "exports" being undefined on other platforms - Removed concatenated test files since they can be run individually --- TODO: - [x] Release...
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..44c97037 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +root = true + +[*] +charset = utf-8 +trim_trailing_whitespace = true +insert_fin...
10
8
2
[{"id": "G0", "claim": "The Grunt build documentation on the wiki (Build-System-Integration#grunt) should be improved so people can try running the build.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Removing the duplicate 'Using height when b...
null
CSSLint__csslint__606
CSSLint/csslint
606
defect
f69cf12e23ca95cfd9e78a4a5d83fdccb71bb8be
ecd3644fae134822e065cbb84d60d261113a3ea8
Add a JSON formatter
Add a JSON formatter option, allowing easier use in tools that have native modes of parsing this output.
diff --git a/src/formatters/json.js b/src/formatters/json.js new file mode 100644 index 00000000..7bc221cb --- /dev/null +++ b/src/formatters/json.js @@ -0,0 +1,34 @@ +/*global CSSLint*/ +CSSLint.addFormatter({ + //format information + id: "json", + name: "JSON", + + /** + * Return content to be printed...
3
1
1
[{"id": "G0", "claim": "The quiet-option test should define errors and warnings in its result object so it actually shows whether quiet has an effect, and the handling of the quiet option (including a non-boolean value like quiet: \"false\" and quiet suppressing output when errors exist) is not right.", "category": "te...
null
CST-Group__cst__11
CST-Group/cst
11
defect
66f320513c28d8c0a6724cf40e27b5b9a0bd0b9a
24454f6c31f751620d6290746a20fcd3d5fcd7f7
Rosservice sync binding
### Why was it necessary? Implement a binding to RosJava Service calls with synchronous answers. Bonus: Some bugs in RosServiceClientCodelet were killed! ### How was it done? We used a BlockingQueue to wait for the async answer and return it synchronously. ### How to test? Run the unit tests. ### F...
diff --git a/README.md b/README.md index 54c57881..dbee1d33 100755 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Note: This library is still under development, and some concepts or features mig ``` dependencies { ... - implementation 'com.github.CST-Group:cst:0.3.1' + implement...
1
1
1
[{"id": "G0", "claim": "In callService(), the catch of InterruptedException around callInProgressSemaphore.acquire() should either re-interrupt the thread or rethrow the InterruptedException instead of just printing the stack trace.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd...
null
CST-Group__cst__18
CST-Group/cst
18
defect
a7955ed30f02197717df849ad83ac3105f8206a0
14a3bd357746c1071b724553de125e315a5ddb78
Improving the disconnected Codelet message to cite Codelet's name
### Why was it necessary? We needed to improve the message of the exception raised when a codelet cannot find the memory objects it is connected to, in order to more easily find bugs in application. ### How was it done? We started printing the name to the Codelet in the message. ### How to test? A test w...
diff --git a/build.gradle b/build.gradle index 2f8abfe9..10e5bf44 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ description = "CST is the Cognitive Systems Toolkit, a toolkit for the construct sourceCompatibility = 1.8 targetCompatibility = 1.8 -version = '0.6.0' +version = '0.6.1' repositories ...
1
1
0
[{"id": "G0", "claim": "Replace this use of System.out (the disconnected-Codelet println) by a logger.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null