docetl2/tests/basic
Shreya Shankar 0f6d9514e3
Add type checks to validation functions (#427)
* feat: Add output type validation to map and reduce operations

Co-authored-by: ss.shankar505 <ss.shankar505@gmail.com>

* Refine API error message for validation failures

Co-authored-by: ss.shankar505 <ss.shankar505@gmail.com>

* Test map type validation for integer answers

Co-authored-by: ss.shankar505 <ss.shankar505@gmail.com>

* fix test for validating schemas

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-09-12 16:18:21 -07:00
..
sample_texts feat: add custom dataset parsers 2024-09-30 18:32:04 -07:00
test_basic_filter_split_gather.py Clean up and reorganize pytest tests (#377) 2025-07-03 22:15:33 -07:00
test_basic_map.py Add type checks to validation functions (#427) 2025-09-12 16:18:21 -07:00
test_basic_parallel_map.py Remove old typing imports (#389) 2025-07-20 12:01:17 -07:00
test_basic_reduce_resolve.py Clean up and reorganize pytest tests (#377) 2025-07-03 22:15:33 -07:00
test_cluster_and_sample.py Refactor sample operation for multiple stratify keys (#408) 2025-08-13 10:16:55 -07:00
test_code_operations.py move tests into basic dir 2024-10-31 17:39:20 -07:00
test_optimizer.py refactor: DSLRunner now uses a pull-based execution model (#273) 2025-01-10 12:45:04 -08:00
test_pipeline_with_parsing.py Switch from poetry to uv (#402) 2025-08-09 13:20:32 -07:00
test_sample_top_methods.py feat: add topk implementation (#410) 2025-08-13 13:27:54 -07:00
test_topk.py feat: add topk implementation (#410) 2025-08-13 13:27:54 -07:00