version = "1.0" [task] name = "commit-runtime/codereverser__casparser-dc6fd68ed28a" description = "assign MF profit/return by value-cost identity, not position" [metadata] difficulty = "large" category = "bugfix" keywords = [ "casparser", "commit_runtime", ] [metadata.repo2env] pipeline = "commit_runtime" pipeline_version = "0.8.3" repo = "codereverser/casparser" ref = "ea95d2eee7e194aef2375e7b5804fb481efeff80" reference = "https://github.com/codereverser/casparser/commit/dc6fd68ed28a077d0aca3acf6ed5cf542a60614c" source_access = "public" built_at = "2026-09-24T13:11:44.586908+00:00" synthesis_llm = "gemini/gemini-2.5-flash" reward_kinds = [ "test_execution", "diff_similarity", ] spec_version = "0.2.0" content_hash = "sha256:784df868e108c02108bef9ab1ce4887f501d33086f28aa64d69478e02de9775c" [metadata.repo2env.commit_runtime] commit_sha = "dc6fd68ed28a077d0aca3acf6ed5cf542a60614c" parent_sha = "ea95d2eee7e194aef2375e7b5804fb481efeff80" authored_at = "2026-06-26T13:51:52+10:00" author_email = "codereverser@gmail.com" subject = "fix(cdsl): assign MF profit/return by value-cost identity, not position" fail_to_pass = [ "tests/test_demat_units.py::TestCDSLHelpers::test_mf_holdings_return_only_tail", ] pass_to_pass = [ "tests/test_demat_units.py::TestCDSLHelpers::test_account_key_normalises", "tests/test_demat_units.py::TestCDSLHelpers::test_full_type_format", "tests/test_demat_units.py::TestCDSLHelpers::test_is_holdings_header", "tests/test_demat_units.py::TestCDSLHelpers::test_is_total_row", "tests/test_demat_units.py::TestCDSLHelpers::test_looks_numeric", "tests/test_demat_units.py::TestCDSLHelpers::test_looks_numeric_leading_dot", "tests/test_demat_units.py::TestCDSLHelpers::test_mf_holdings_full_row_with_invested_and_value", "tests/test_demat_units.py::TestCDSLHelpers::test_mf_holdings_pnl_identity_full_row", "tests/test_demat_units.py::TestCDSLHelpers::test_mf_holdings_reduced_row_distrib_no_invested", "tests/test_demat_units.py::TestCDSLHelpers::test_mf_holdings_wrapped_folio", "tests/test_demat_units.py::TestCDSLHelpers::test_parse_holdings_row_all_dashes", "tests/test_demat_units.py::TestCDSLHelpers::test_parse_holdings_row_rejects_no_isin", "tests/test_demat_units.py::TestCDSLHelpers::test_parse_holdings_row_returns_none_on_short_block", "tests/test_demat_units.py::TestCDSLHelpers::test_parse_holdings_row_skips_at_marker", "tests/test_demat_units.py::TestCDSLHelpers::test_split_bo_id_cdsl", "tests/test_demat_units.py::TestCDSLHelpers::test_split_bo_id_invalid_length", "tests/test_demat_units.py::TestCDSLHelpers::test_split_bo_id_nsdl", "tests/test_demat_units.py::TestCDSLHelpers::test_split_bo_id_unrecognised", "tests/test_demat_units.py::TestDecimalHelpers::test_opt_decimal_parses_value[casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_opt_decimal_parses_value[casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_opt_decimal_returns_none_on_placeholders[casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_opt_decimal_returns_none_on_placeholders[casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_none[casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_none[casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[ -casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[ -casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[---casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[---casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[--casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[--casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[-casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[-casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[N.A-casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[N.A-casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[NA-casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_handles_placeholders[NA-casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_strips_commas[casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_strips_commas[casparser.parsers.nsdl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_swallows_invalid[casparser.parsers.cdsl]", "tests/test_demat_units.py::TestDecimalHelpers::test_to_decimal_swallows_invalid[casparser.parsers.nsdl]", ] validation_status = "verified" bootstrap_image = "local-venv:codereverser__casparser" instruction_synthesized = true llm_cost_usd = 0.002771 [metadata.repo2env.reward_calibration] f2p_count = 1 p2p_count = 40 source_files = 2 loc_changed = 83 difficulty = "large" [metadata.repo2env.evaluation] schema_version = "1" status = "unverified" stage = "generation" reason_codes = [ "validation_not_run", ] detail = "Generated task; validation has not been established." provenance = "unknown" evidence = [] [metadata.repo2env.reproducibility] mode = "local_only" image_ref = "local/codereverser__casparser" image_tag = "local/codereverser__casparser" image_visibility = "private" [agent] timeout_sec = 1800.0 [verifier] timeout_sec = 300.0