Download heldout_pool/codereverser__casparser-dc6b4bad9a9d/instruction.md from Benjamin-eecs/openrsi-commit-runtime-assets: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/codereverser__casparser-dc6b4bad9a9d/instruction.md
- Command line
-
hf download hf://datasets/Benjamin-eecs/openrsi-commit-runtime-assets/heldout_pool/codereverser__casparser-dc6b4bad9a9d/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/codereverser__casparser-dc6b4bad9a9d/instruction.md
Issue
Title: CDSL CAS: Mutual Fund holdings show incorrect (zero) current value for certain row formats
Description
When parsing CDSL Consolidated Account Statements (CAS), some Mutual Fund holdings rows are incorrectly processed, leading to a reported current value of zero. This happens for a specific row variant where a distribution mode column (e.g., ARN/DIRECT) is present, but there is no separate "invested / total cost" column. In these cases, the row contains only three numeric columns: units, NAV, and current value.
Actual Behavior: The current value for such holdings is parsed as 0, which also results in an incorrect (lower) total balance for the MF-Folios. Expected Behavior: The current value should be correctly extracted from the third numeric column in these specific rows, and the total MF-Folios balance should accurately reflect the sum of all holdings' current values.
Task
Modify the repository so that the issue described above is resolved. The task's test suite verifies your patch by applying it on top of the base commit 226c7d016abe and running the modified tests.