Skip to content

Conversation

@BioGeek
Copy link
Contributor

@BioGeek BioGeek commented Dec 8, 2025

PR Type

Enhancement


Description

  • Add .pr_agent.toml config file

  • Configure GitHub App PR triggers

  • Define default PR agent commands

  • Enable original user description


Changes walkthrough 📝

Relevant files
Configuration changes
.pr_agent.toml
Add PR agent configuration                                                             

.pr_agent.toml

  • Created new config file for PR agent
  • Set handle_pr_actions for PR events
  • Specified default pr_commands
  • Enabled add_original_user_description
  • +10/-0   

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • @BioGeek BioGeek linked an issue Dec 8, 2025 that may be closed by this pull request
    @BioGeek
    Copy link
    Contributor Author

    BioGeek commented Dec 8, 2025

    /describe

    @instadeep-pr-agent
    Copy link

    PR Description updated to latest commit (b33bc31)

    @github-actions
    Copy link

    github-actions bot commented Dec 8, 2025

    Coverage

    Coverage Report
    FileStmtsMissCoverMissing
    __init__.py00100% 
    constants.py80100% 
    data_types.py40100% 
    calibration
       __init__.py00100% 
       calibration_features.py2631195%163–164, 317–319, 546–548, 997–999
       calibrator.py841088%69–70, 95–96, 98, 123–124, 128, 155–156
    datasets
       __init__.py00100% 
       calibration_dataset.py801186%184, 186–187, 193–196, 198–201
       data_loaders.py1901900%7–11, 13–17, 19–20, 24, 27, 30–31, 42, 44, 49, 54, 56–57, 67, 70–71, 73–74, 79, 85–86, 95, 98, 108, 113–114, 124, 129–131, 133, 137–138, 140–141, 146, 149, 156, 162, 164–165, 174, 176–179, 181, 185–186, 188, 190, 192–193, 204–206, 215, 217–218, 230, 236, 245–246, 250, 252–253, 263–264, 267, 270–271, 278, 287, 289, 305–306, 308–310, 312–314, 316–317, 319, 322, 346, 357–358, 364–365, 374–375, 377–378, 387–388, 390–393, 395, 399–400, 402, 404, 420–421, 423–424, 427–429, 434, 437–438, 441–442, 448–449, 451, 453, 463, 466, 478–479, 486, 492, 496, 498, 501, 505, 507, 523, 535, 548–549, 551–552, 555–557, 567–568, 570, 572–574, 576, 587, 589, 600–601, 605, 609, 611, 623, 630, 643, 653–654, 665, 698, 704, 724, 727, 740–741, 743–746, 749, 752, 759, 767–770, 772–773
       interfaces.py330%6–8
       psm_dataset.py250100% 
    fdr
       __init__.py00100% 
       base.py581574%81, 85–86, 91, 98–99, 105, 126, 129–130, 135, 137–138, 144, 186
       database_grounded.py220100% 
       nonparametric.py25484%62, 68–69, 72
    scripts
       __init__.py00100% 
       main.py1371370%2, 9–11, 17–19, 21–30, 34–37, 40, 43–46, 49–50, 53, 56–57, 60–61, 64–65, 68–69, 72–73, 76–77, 80, 83–84, 88–89, 91–93, 95, 103, 119–122, 125, 128–129, 132, 136–137, 140, 144–145, 148, 153, 156, 159, 168–169, 177, 180, 198–200, 205, 212, 217–218, 221, 228–230, 232, 236–241, 244, 246–247, 252–253, 300–301, 306, 309–310, 315, 318–319, 322–324, 327, 331, 385–386, 391, 395–397, 400–401, 403–404, 406–408, 411–414, 422, 424, 430–434, 437, 439–442
    TOTAL89938157% 

    Tests Skipped Failures Errors Time
    126 0 💤 0 ❌ 0 🔥 36.397s ⏱️

    @JemmaLDaniel JemmaLDaniel self-requested a review December 8, 2025 12:05
    @JemmaLDaniel
    Copy link
    Collaborator

    /review

    @instadeep-pr-agent
    Copy link

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Schema Validation

    Ensure that the new .pr_agent.toml file is validated against the expected configuration schema to prevent misconfiguration and runtime errors.

    [github_app]
    handle_pr_actions = ["opened", "reopened", "ready_for_review"]
    pr_commands = [
        "/describe --pr_description.final_update_message=false",
        "/review",
        "/improve",
    ]
    Documentation

    Consider adding comments or explanations for each configuration option to guide users on valid values and expected behavior.

    [github_app]
    handle_pr_actions = ["opened", "reopened", "ready_for_review"]
    pr_commands = [
        "/describe --pr_description.final_update_message=false",
        "/review",
        "/improve",
    ]
    
    [pr_description]
    add_original_user_description=true

    @JemmaLDaniel JemmaLDaniel merged commit eb703cb into main Jan 5, 2026
    4 checks passed
    @JemmaLDaniel JemmaLDaniel deleted the 151-add-config-file-for-pr-agent branch January 5, 2026 12:44
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    Add config file for PR agent

    3 participants