Peer Review History

Original SubmissionFebruary 28, 2025
Decision Letter - Hugh Cowley, Editor

Dear Dr. Li,

Thank you for submitting your manuscript to PLOS One. After careful consideration, we feel that it has merit but does not fully meet PLOS One’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Jun 08 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org . When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols .

We look forward to receiving your revised manuscript.

Kind regards,

Hugh Cowley

Staff Editor

PLOS One

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. Thank you for stating the following financial disclosure:

“This work is partially supported by 2025 Key Research Project of Shenzhen Polytechnic University "Research on Key Methods for Analysis and Prediction of Social Behaviour of Specific Characters on Multimodal Big Data (6025310008K)", 2024 Guangdong Province Education Science Planning Project (Higher Education Special Project) "Research on Smart Classroom Teaching Behavior Analysis Methods Based on Scene Semantic Understanding and Deep Learning Characteristic Representation (2024GXJK766)", 2023 Guangdong Provincial Higher Vocational Education Teaching Reform Research and Practice Project "Research on Online Teaching Quality Evaluation Method Based on Multimodal Affective State Analysis (2023JG277)", 2024 Shenzhen Polytechnic University Quality Engineering Project "Research on Classroom Scene Understanding and Behavior Analysis Method Based on Multimodal Attention Mechanisms (7024310268)", 2024 Higher Education Scientific Research Planning Project of the Chinese Society of Higher Education "Research on the Analysis of Teaching and Learning Deep Interaction Characteristics in Smart Classroom Environment Supported by Multimodal Data (24XH0407)", 2023 Shenzhen Education Science Planning Project"Research on the Evolutionary Mechanism and Intervention of Interpersonal Relationships among College Students Driven by Multimodal Data (rgzn23003)".

Please state what role the funders took in the study. If the funders had no role, please state: "The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

If this statement is not correct you must amend it as needed.

Please include this amended Role of Funder statement in your cover letter; we will change the online submission form on your behalf.

4. Thank you for stating in your Funding Statement:

“This work is partially supported by 2025 Key Research Project of Shenzhen Polytechnic University "Research on Key Methods for Analysis and Prediction of Social Behaviour of Specific Characters on Multimodal Big Data (6025310008K)", 2024 Guangdong Province Education Science Planning Project (Higher Education Special Project) "Research on Smart Classroom Teaching Behavior Analysis Methods Based on Scene Semantic Understanding and Deep Learning Characteristic Representation (2024GXJK766)", 2023 Guangdong Provincial Higher Vocational Education Teaching Reform Research and Practice Project "Research on Online Teaching Quality Evaluation Method Based on Multimodal Affective State Analysis (2023JG277)", 2024 Shenzhen Polytechnic University Quality Engineering Project "Research on Classroom Scene Understanding and Behavior Analysis Method Based on Multimodal Attention Mechanisms (7024310268)", 2024 Higher Education Scientific Research Planning Project of the Chinese Society of Higher Education "Research on the Analysis of Teaching and Learning Deep Interaction Characteristics in Smart Classroom Environment Supported by Multimodal Data (24XH0407)", 2023 Shenzhen Education Science Planning Project"Research on the Evolutionary Mechanism and Intervention of Interpersonal Relationships among College Students Driven by Multimodal Data (rgzn23003)".

Please provide an amended statement that declares *all* the funding or sources of support (whether external or internal to your organization) received during this study, as detailed online in our guide for authors at http://journals.plos.org/plosone/s/submit-now.  Please also include the statement “There was no additional external funding received for this study.” in your updated Funding Statement.

Please include your amended Funding Statement within your cover letter. We will change the online submission form on your behalf.

5. We note that your Data Availability Statement is currently as follows: All relevant data are within the manuscript and its Supporting Information files.

Please confirm at this time whether or not your submission contains all raw data required to replicate the results of your study. Authors must share the “minimal data set” for their submission. PLOS defines the minimal data set to consist of the data required to replicate all study findings reported in the article, as well as related metadata and methods (https://journals.plos.org/plosone/s/data-availability#loc-minimal-data-set-definition).

For example, authors should submit the following data:

- The values behind the means, standard deviations and other measures reported;

- The values used to build graphs;

- The points extracted from images for analysis.

Authors do not need to submit their entire data set if only a portion of the data was used in the reported study.

If your submission does not contain these data, please either upload them as Supporting Information files or deposit them to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. For a list of recommended repositories, please see https://journals.plos.org/plosone/s/recommended-repositories.

If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially sensitive information, data are owned by a third-party organization, etc.) and who has imposed them (e.g., an ethics committee). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent. If data are owned by a third party, please indicate how others may request data access.

6. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager.

7. Please ensure that you refer to Figure 1, 3, 7, 8 and 9 in your text as, if accepted, production will need this reference to link the reader to the figure.

8. Please upload a copy of Figure 4, to which you refer in your text on page 19 in PDF submission. If the figure is no longer to be included as part of the submission please remove all reference to it within the text.

9. We note you have included a table to which you do not refer in the text of your manuscript. Please ensure that you refer to Table 1, 2, 3, 5, 6 and 7 in your text; if accepted, production will need this reference to link the reader to the Table.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

Reviewer #1: Yes

Reviewer #2: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously? -->?>

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available??>

The PLOS Data policy

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English??>

Reviewer #1: Yes

Reviewer #2: Yes

**********

Reviewer #1: In summary, this article is interesting and offers valuable findings in terms of both theoretical knowledge and practical application. However, there are several weaknesses that need to be addressed to enhance the overall quality of the article. Language errors are evident, and the writing style lacks consistency, particularly in the labelling of tables and figures. Some labels use lowercase letters while others capitalize each word, which disrupts uniformity. Additionally, the labels for Figures 1, 2, and 3 are unclear, and the colours used are not appropriate for academic writing.

The font used throughout the article is also inconsistent across the main text, references, and figure labels. For instance, the citation for “Figure 4” in the text does not follow a consistent formatting style. Moreover, it is recommended that Figure 4 be converted into a table, and all its content be incorporated accordingly for better clarity and presentation.

The presentation of research findings should also be further elaborated, with a more in-depth discussion that connects the current results to previous research findings and the theoretical framework underpinning the study.

Reviewer #2: Please consider correcting minor typographical errors such as “frameworkk” and “faik” to enhance the overall readability and polish of the manuscript.

It may be helpful to clarify the distinctions between the different experimental configurations (e.g., RAG only, Code Interpreter only, and the combined approach) earlier in the methodology section to guide readers through the experimental design more clearly.

Including a visual system architecture diagram that illustrates the interaction between the RAG module, the Code Interpreter, and the LLM could significantly aid in understanding the proposed framework.

To strengthen the rigor of the results, it is recommended to supplement the performance comparisons with appropriate statistical significance tests to demonstrate that the observed improvements are meaningful.

Providing additional detail on how the system handles or mitigates code execution errors—especially within the sandbox environment—would improve transparency and reproducibility.

It would be valuable to indicate whether any parameter tuning was performed for either the RAG or Code Interpreter components and, if so, describe the approach and settings used.

Expanding on the use of Chain-of-Thought prompting with a concrete example could help readers better appreciate how this strategy supports multi-step reasoning within the system.

The error analysis section would benefit from the inclusion of illustrative examples of failure cases, along with brief suggestions or hypotheses about how such challenges might be addressed in future work.

A brief discussion of potential ethical concerns or risks related to the deployment of large language models in educational contexts—such as bias, misinformation, or over-reliance—could add depth to the manuscript.

Lastly, while the data sources are clearly indicated, providing access to any code or implementation details (e.g., via a GitHub repository) would further support reproducibility and allow others to build upon this valuable work.

**********

what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy

Reviewer #1: No

Reviewer #2: Yes:  Muralidhar Kurni, Ph.D., PostDoc

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/ . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org . Please note that Supporting Information files do not need this step.

Revision 1

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1.Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming.

The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

A: After comparing the standardised documents of the journals, this article conforms to the style and naming convention of the article.

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

A: The algorithms and simulation code covered in this paper are fully publicly available.

3. Thank you for stating the following financial disclosure:

“This work is partially supported by 2025 Key Research Project of Shenzhen Polytechnic University "Research on Key Methods for Analysis and Prediction of Social Behaviour of Specific Characters on Multimodal Big Data (6025310008K)", 2024 Guangdong Province Education Science Planning Project (Higher Education Special Project) "Research on Smart Classroom Teaching Behavior Analysis Methods Based on Scene Semantic Understanding and Deep Learning Characteristic Representation (2024GXJK766)", 2023 Guangdong Provincial Higher Vocational Education Teaching Reform Research and Practice Project "Research on Online Teaching Quality Evaluation Method Based on Multimodal Affective State Analysis (2023JG277)", 2024 Shenzhen Polytechnic University Quality Engineering Project "Research on Classroom Scene Understanding and Behavior Analysis Method Based on Multimodal Attention Mechanisms (7024310268)", 2024 Higher Education Scientific Research Planning Project of the Chinese Society of Higher Education "Research on the Analysis of Teaching and Learning Deep Interaction Characteristics in Smart Classroom Environment Supported by Multimodal Data (24XH0407)", 2023 Shenzhen Education Science Planning Project"Research on the Evolutionary Mechanism and Intervention of Interpersonal Relationships among College Students Driven by Multimodal Data (rgzn23003)".

Please state what role the funders took in the study. If the funders had no role, please state: "The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

If this statement is not correct you must amend it as needed.

Please include this amended Role of Funder statement in your cover letter; we will change the online submission form on your behalf.

A: After careful combing, this paper mainly relies on the following six topics to carry out relevant research, and the algorithms proposed in the text are all supported by the following topics, including scientific research platforms, simulation data, and test applications.

1.2025 Guangdong Philosophy and Social Science Planning Project "Research on the Synergistic Evolutionary Mechanisms of the Governance System of Colleges and Universities and the Development of Students’ Socio-emotional Competence: Based on Multimodal Learning Analysis (GD25CJY29)".

2.2025 Key Research Project of Shenzhen Polytechnic University "Research on Key Methods for Analysis and Prediction of Social Behaviour of Specific Characters on Multimodal Big Data (6025310008K)", the research in this paper relies on this topic to carry out research aimed at solving the spatial mapping problem of multimodal heterogeneous features.

3.2024 Guangdong Province Education Science Planning Project (Higher Education Special Project) "Research on Smart Classroom Teaching Behavior Analysis Methods Based on Scene Semantic Understanding and Deep Learning Characteristic Representation (2024GXJK766)", based mainly on this topic, the research on behaviour detection is oriented towards the problem of joint mining for scene saliency regions and behaviour recognition.

4.2023 Guangdong Provincial Higher Vocational Education Teaching Reform Research and Practice Project "Research on Online Teaching Quality Evaluation Method Based on Multimodal Affective State Analysis (2023JG277)", based mainly on this topic, a behavioural prediction study for online teaching and learning is conducted by combining viewpoint summaries of teacher and student adaptive interaction behavioural events, propensity analysis and accurate modelling of online behavioural trajectories.

5.2024 Shenzhen Polytechnic University Quality Engineering Project "Research on Classroom Scene Understanding and Behavior Analysis Method Based on Multimodal Attention Mechanisms (7024310268)", in this study, a scene classification model based on the attention mechanism is proposed, theoretically validated and functionally tested in text.

6.2024 Higher Education Scientific Research Planning Project of the Chinese Society of Higher Education "Research on the Analysis of Teaching and Learning Deep Interaction Characteristics in Smart Classroom Environment Supported by Multimodal Data (24XH0407)", the definition and formal representation of the elements of teaching and learning activities in a smart classroom were investigated in that study based on automated quizzes, which were tested and validated in this paper.

4. Thank you for stating in your Funding Statement:

“This work is partially supported by 2025 Key Research Project of Shenzhen Polytechnic University "Research on Key Methods for Analysis and Prediction of Social Behaviour of Specific Characters on Multimodal Big Data (6025310008K)", 2024 Guangdong Province Education Science Planning Project (Higher Education Special Project) "Research on Smart Classroom Teaching Behavior Analysis Methods Based on Scene Semantic Understanding and Deep Learning Characteristic Representation (2024GXJK766)", 2023 Guangdong Provincial Higher Vocational Education Teaching Reform Research and Practice Project "Research on Online Teaching Quality Evaluation Method Based on Multimodal Affective State Analysis (2023JG277)", 2024 Shenzhen Polytechnic University Quality Engineering Project "Research on Classroom Scene Understanding and Behavior Analysis Method Based on Multimodal Attention Mechanisms (7024310268)", 2024 Higher Education Scientific Research Planning Project of the Chinese Society of Higher Education "Research on the Analysis of Teaching and Learning Deep Interaction Characteristics in Smart Classroom Environment Supported by Multimodal Data (24XH0407)", 2023 Shenzhen Education Science Planning Project"Research on the Evolutionary Mechanism and Intervention of Interpersonal Relationships among College Students Driven by Multimodal Data (rgzn23003)".

Please provide an amended statement that declares *all* the funding or sources of support (whether external or internal to your organization) received during this study, as detailed online in our guide for authors at http://journals.plos.org/plosone/s/submit-now. Please also include the statement “There was no additional external funding received for this study.” in your updated Funding Statement.

Please include your amended Funding Statement within your cover letter. We will change the online submission form on your behalf.

A: Funding Disclaimer: No additional external funding was received for this study, and all research was conducted on the following six topics.

1.2025 Guangdong Philosophy and Social Science Planning Project "Research on the Synergistic Evolutionary Mechanisms of the Governance System of Colleges and Universities and the Development of Students’ Socio-emotional Competence: Based on Multimodal Learning Analysis (GD25CJY29)".

2.2025 Key Research Project of Shenzhen Polytechnic University "Research on Key Methods for Analysis and Prediction of Social Behaviour of Specific Characters on Multimodal Big Data (6025310008K)".

3.2024 Guangdong Province Education Science Planning Project (Higher Education Special Project) "Research on Smart Classroom Teaching Behavior Analysis Methods Based on Scene Semantic Understanding and Deep Learning Characteristic Representation (2024GXJK766)".

4.2023 Guangdong Provincial Higher Vocational Education Teaching Reform Research and Practice Project "Research on Online Teaching Quality Evaluation Method Based on Multimodal Affective State Analysis (2023JG277)".

5.2024 Shenzhen Polytechnic University Quality Engineering Project "Research on Classroom Scene Understanding and Behavior Analysis Method Based on Multimodal Attention Mechanisms (7024310268)".

6.2024 Higher Education Scientific Research Planning Project of the Chinese Society of Higher Education "Research on the Analysis of Teaching and Learning Deep Interaction Characteristics in Smart Classroom Environment Supported by Multimodal Data (24XH0407)".

5. We note that your Data Availability Statement is currently as follows: All relevant data are within the manuscript and its Supporting Information files.

Please confirm at this time whether or not your submission contains all raw data required to replicate the results of your study. Authors must share the “minimal data set” for their submission. PLOS defines the minimal data set to consist of the data required to replicate all study findings reported in the article, as well as related metadata and methods (https://journals.plos.org/plosone/s/data-availability#loc-minimal-data-set-definition).

For example, authors should submit the following data:

- The values behind the means, standard deviations and other measures reported;

- The values used to build graphs;

- The points extracted from images for analysis.

Authors do not need to submit their entire data set if only a portion of the data was used in the reported study.

If your submission does not contain these data, please either upload them as Supporting Information files or deposit them to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. For a list of recommended repositories, please see https://journals.plos.org/plosone/s/recommended-repositories.

If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially sensitive information, data are owned by a third-party organization, etc.) and who has imposed them (e.g., an ethics committee). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent. If data are owned by a third party, please indicate how others may request data access.

A: The data and code applied in this paper uses only a portion of the data in the dataset, which can be accessed on request at https://github.com/hitlujin0808/education-Q-A

6. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager.

A: The ORCIDs of the first and corresponding authors of this paper are registered, including the ORCID of JinLu (first author) is 0009-0004-5686-3654, and the ORCID of JiLi (corresponding author) is 0009-0003-3412-5493.

7. Please ensure that you refer to Figure 1, 3, 7, 8 and 9 in your text as, if accepted, production will need this reference to link the reader to the figure.

A: As revised, images 1, 3, 7, 8, and 9 are associated in the article with specific descriptions of their content.

8. Please upload a copy of Figure 4, to which you refer in your text on page 19 in PDF submission. If the figure is no longer to be included as part of the submission please remove all reference to it within the text.

A: As a result of the revision, figure 4 has been deleted and the presentation in the text has been adjusted and optimized accordingly.

9. We note you have included a table to which you do not refer in the text of your manuscript. Please ensure that you refer to Table 1, 2, 3, 5, 6 and 7 in your text; if accepted, production will need this reference to link the reader to the Table.

A: A total of seven tables are shown in this paper, and with some modifications, tables 1, 2, 3, 4, 5, 6, and 7 have been correlated in the text with corresponding descriptions.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Yes

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: In summary, this article is interesting and offers valuable findings in terms of both theoretical knowledge and practical application. However, there are several weaknesses that need to be addressed to enhance the overall quality of the article. Language errors are evident, and the writing style lacks consistency, particularly in the labelling of tables and figures. Some labels use lowercase letters while others capitalize each word, which disrupts uniformity. Additionally, the labels for Figures 1, 2, and 3 are unclear, and the colours used are not appropriate for academic writing.

A: Thank you for your valuable comments. Based on your suggestions, targeted changes have been made to the text as follows.

1.Grammatical issues in the text have been optimized, as detailed in red.

2.The formatting of all images and figure captions has been standardized in accordance with the journal's requirements.

3.Optimized description, title and colour scheme of images 1, 2, 3.

The font used throughout the article is also inconsistent across the main text, references, and figure labels. For instance, the citation for “Figure 4” in the text does not follow a consistent formatting style. Moreover, it is recommended that Figure 4 be converted into a tab

Attachments
Attachment
Submitted filename: Response of Reviewer(Plos one).docx
Decision Letter - Vincenzo Bonnici, Editor

Dear Dr. Li,

Thank you for submitting your manuscript to PLOS One. After careful consideration, we feel that it has merit but does not fully meet PLOS One’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Sep 22 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org . When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols . Additionally, PLOS One offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols .

We look forward to receiving your revised manuscript.

Kind regards,

Hugh Cowley

Senior Editor

PLOS One

on behalf of

Vincenzo Bonnici, PhD

Academic Editor

PLOS One

Journal Requirements:

1. If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise. 

2. Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

Reviewer #1: All comments have been addressed

Reviewer #2: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions??>

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously? -->?>

Reviewer #1: Yes

Reviewer #2: (No Response)

**********

4. Have the authors made all data underlying the findings in their manuscript fully available??>

The PLOS Data policy

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English??>

Reviewer #1: Yes

Reviewer #2: Yes

**********

Reviewer #1: In general, the author has addressed the comments and made appropriate improvements accordingly. There is a noticeable improvement in the overall quality of the writing, reflecting the author’s effort to enhance clarity and coherence

Reviewer #2: The revised manuscript demonstrates significant improvements and adequately addresses all comments raised in the previous review round. The integration of Retrieval-Augmented Generation (RAG) and LLM-based Code Interpreters is well-motivated and technically justified. The experimental design is clear, and the four comparative configurations are now explicitly outlined early in the methodology section, enhancing reader comprehension.

The addition of the system architecture diagram (Figure 1) helps visualize the interaction between RAG, the Code Interpreter, and the LLM, which strengthens the conceptual clarity. The statistical significance tests introduced in Section 5.6.5 provide rigor to the performance claims, and the results in Table 8 confirm the robustness of the findings.

The authors have also improved reproducibility and transparency by sharing the implementation code via GitHub and including a detailed discussion of error handling within the sandboxed execution environment. The inclusion of a Chain-of-Thought example and illustrative failure cases further enriches the manuscript, offering practical insights into system behavior.

Finally, the newly added discussion on ethical concerns, covering bias, misinformation, and over-reliance, adds valuable depth and relevance, especially for educational applications of LLMs.

The manuscript is now clearly written, technically sound, and methodologically rigorous. I believe it is suitable for publication in its current form.

**********

what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy

Reviewer #1: No

Reviewer #2: Yes:  Muralidhar Kurni, Ph.D., PostDoc.

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/ . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org

Revision 2

Journal Requirements:

1. If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise.

A� We will carry out the paper revision work in strict accordance with the requirements.

2. Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

A� Some references in the references have been replaced according to the requirements of the journal to enhance the accuracy of the citation. In addition, the DOI of the arXiv paper is supplemented to facilitate the paper query.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

Reviewer #2: All comments have been addressed

A� We would like to express our gratitude to the reviewers for their hard work.

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Yes

A� We would like to express our gratitude to the reviewers for their hard work.

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: (No Response)

A� We would like to express our gratitude to the reviewers for their hard work.

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

A� We would like to express our gratitude to the reviewers for their hard work.

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

A� We would like to express our gratitude to the reviewers for their hard work.

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: In general, the author has addressed the comments and made appropriate improvements accordingly. There is a noticeable improvement in the overall quality of the writing, reflecting the author’s effort to enhance clarity and coherence

A�Thank you again for your hard work, and we will continue to learn your valuable opinions and improve the quality of the paper.

Reviewer #2: The revised manuscript demonstrates significant improvements and adequately addresses all comments raised in the previous review round. The integration of Retrieval-Augmented Generation (RAG) and LLM-based Code Interpreters is well-motivated and technically justified. The experimental design is clear, and the four comparative configurations are now explicitly outlined early in the methodology section, enhancing reader comprehension.

A�Thank you again for your hard work, and we will continue to learn your valuable opinions and improve the quality of the paper.

The addition of the system architecture diagram (Figure 1) helps visualize the interaction between RAG, the Code Interpreter, and the LLM, which strengthens the conceptual clarity. The statistical significance tests introduced in Section 5.6.5 provide rigor to the performance claims, and the results in Table 8 confirm the robustness of the findings.

A�Thank you again for your hard work, and we will continue to learn your valuable opinions and improve the quality of the paper.

The authors have also improved reproducibility and transparency by sharing the implementation code via GitHub and including a detailed discussion of error handling within the sandboxed execution environment. The inclusion of a Chain-of-Thought example and illustrative failure cases further enriches the manuscript, offering practical insights into system behavior.

A�Thank you again for your hard work, and we will continue to learn your valuable opinions and improve the quality of the paper.

Finally, the newly added discussion on ethical concerns, covering bias, misinformation, and over-reliance, adds valuable depth and relevance, especially for educational applications of LLMs.

A�Thank you again for your hard work, and we will continue to learn your valuable opinions and improve the quality of the paper.

The manuscript is now clearly written, technically sound, and methodologically rigorous. I believe it is suitable for publication in its current form.

A�Thank you again for your hard work, and we will continue to learn your valuable opinions and improve the quality of the paper.

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Muralidhar Kurni, Ph.D., PostDoc.

A� We would like to express our gratitude to the reviewers for their hard work.

Attachments
Attachment
Submitted filename: Response to Reviewers.docx
Decision Letter - Zheng Zhang, Editor

Dear Dr. Li,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Dec 06 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org . When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols .

We look forward to receiving your revised manuscript.

Kind regards,

Zheng Zhang

Academic Editor

PLOS ONE

Journal Requirements:

If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise. 

Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

Comments from the Editorial Office:

In the previous decision letter, the PLOS One Editorial Office requested that you address the following points, which remain unaddressed. Please give further attention to these requirements before submitting a revised manuscript and response document:

1) We thank you for providing a link to the repository from which the code underpinning this study can be freely accessed (https://github.com/hitlujin0808/education-Q-A). We note that this link has been provided in your Response to Reviewers file, but does not appear to have been included in your manuscript text. Please revise your manuscript text to include this link.

2) We note that the documentation for the code in the repository you have linked is provided in a language other than English. Because PLOS One is an international journal published in English, we kindly ask that you update the documentation in this repository to include translation into English. This is to ensure that your study complies with the PLOS One policy on code sharing, which states that you are encouraged to share your code 'in a way that follows best practice and facilitates reproducibility and reuse' (https://journals.plos.org/plosone/s/materials-software-and-code-sharing#loc-sharing-code).

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

Reviewer #1: All comments have been addressed

Reviewer #2: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions??>

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?-->?>

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available??>

The PLOS Data policy

Reviewer #1: (No Response)

Reviewer #2: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English??>

Reviewer #1: (No Response)

Reviewer #2: Yes

**********

Reviewer #1: COMMENTS.

SO FAR ONLY THOSE COMMENTS HAVE SYSTEM ERROR!

PAGE 11_ 1. Introduction

The educational question-answering systemError! Reference source not found. is playing an increasingly important role in modern education.

PAGE 12_ However, despite their excellence in text generation and comprehension, LLMs still face limitations in handling complex reasoning and mathematical calculations, and they are susceptible to the “hallucination[8]” problem, where the model may generate incorrect answers that do not align with actual knowledge, posing challenges to the accuracy and reliability of the educational systemError! Reference source not found..

To address these challenges in current educational question-answering systems, this study proposes a new LLM-based educational question-answering system that combines RetrievalAugmented Generation[9][11]Error! Reference source not found. (RAG) and LLM Code Interpreter[12][14][15][16].

PAGES 14_ 2 Related works

2.1 Knowledge Base Question Answering Systems (KBQA)

Past educational question answering systems primarily relied on Knowledge Base Question Answering Systems[20][21]Error! Reference source not found.

PAGES15_ Second, methods based on structured knowledge bases still face considerable challenges in dealing with the diversity and complexity of natural languageError! Reference source not found..

PAGES 16_ it may still generate inaccurate or erroneous results when confronted with tasks that require multi-step calculations or precise answersError! Reference source not found..

PAGES 16_2.3 Large Language Models (LLMs) and Code Interpreters

To address the limitations of LLMs in reasoning and computation, researchers have gradually introduced the Code Interpreter component[16][32]. A Code Interpreter is a tool that can generate and execute code, allowing it to handle complex tasks such as mathematical operations[34], data manipulation[35], and logical reasoningError! Reference source not found.

PAGES 18_ 4. Textbook Question Answering (TQA)

The TQAError! Reference source not found. dataset comes from high school science textbooks and includes 1,076 course contents from life sciences, Earth sciences, and physical sciences.

PAGES 21_ 4.4 Implementation Details of the RAG Retrieval Module

The RAG mechanism was implemented using the following approach, including knowledge base construction, retrieval and text selection, as well as fusion and input. The knowledge base was constructed by integrating publicly available text sources, such as Wikipedia excerpts, popular science websites, and digitized versions of various textbooks in both Chinese and English to ensure

linguistic consistency in retrieval. The original text was segmented into sentences or paragraphs, and vector-based retrieval techniquesError! Reference source not found. (e.g., Faiss or Milvus) were used to index the text

PAGES 22_ 4.6 Prompt Engineering

To maximize the synergistic effects of the LLM, RAG, and Code Interpreter components, careful prompt engineering techniques[44][45]Error! Reference source not found. were employed.

Reviewer #2: The manuscript has undergone substantial improvement in both clarity and methodological rigor compared to earlier versions.

The integration of Retrieval-Augmented Generation (RAG) and LLM-based Code Interpreters is well-motivated, technically justified, and convincingly demonstrated across diverse educational datasets.

The addition of the system architecture diagram, statistical significance testing, and error analysis has strengthened the scientific quality and credibility of the work.

Sharing the implementation code via GitHub enhances transparency, reproducibility, and the practical applicability of the study.

The discussion of ethical considerations—bias, misinformation, and over-reliance—is highly relevant and adds value to the paper, especially in educational contexts.

The writing is clear, coherent, and presented in standard English, making the manuscript accessible to a broad readership.

Overall, the research is technically sound, the data support the conclusions, and the paper is suitable for publication in its current form.

**********

what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review?  For information about this choice, including consent withdrawal, please see our Privacy Policy

Reviewer #1: No

Reviewer #2: Yes:  Muralidhar Kurni

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

To ensure your figures meet our technical requirements, please review our figure guidelines: https://journals.plos.org/plosone/s/figures 

You may also use PLOS’s free figure tool, NAAS, to help you prepare publication quality figures: https://journals.plos.org/plosone/s/figures#loc-tools-for-figure-preparation

NAAS will assess whether your figures meet our technical requirements by comparing each figure against our figure specifications.

Revision 3

Journal Requirements:

If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise.

A�Thank you for your suggestions. I shall carefully review the reviewers' comments regarding the references and promptly make the necessary improvements.

Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

A�Thank you for your suggestion. All references have been checked and are indeed articles from the database.

Comments from the Editorial Office:

In the previous decision letter, the PLOS One Editorial Office requested that you address the following points, which remain unaddressed. Please give further attention to these requirements before submitting a revised manuscript and response document:

1) We thank you for providing a link to the repository from which the code underpinning this study can be freely accessed (https://github.com/hitlujin0808/education-Q-A). We note that this link has been provided in your Response to Reviewers file, but does not appear to have been included in your manuscript text. Please revise your manuscript text to include this link.

A�Thank you for your suggestion. The code link has been added at the end of the paper.

2) We note that the documentation for the code in the repository you have linked is provided in a language other than English. Because PLOS One is an international journal published in English, we kindly ask that you update the documentation in this repository to include translation into English. This is to ensure that your study complies with the PLOS One policy on code sharing, which states that you are encouraged to share your code 'in a way that follows best practice and facilitates reproducibility and reuse' (https://journals.plos.org/plosone/s/materials-software-and-code-sharing#loc-sharing-code).

A�Thank you for your suggestion. The explanatory notes for the code have now been fully converted into English.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

A�Thank you for your support.

Reviewer #2: All comments have been addressed

A�Thank you for your support.

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

A�Thank you for your support.

Reviewer #2: Yes

A�Thank you for your support.

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

A�Thank you for your support.

Reviewer #2: Yes

A�Thank you for your support.

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: (No Response)

A�Thank you for your support.

Reviewer #2: Yes

A�Thank you for your support.

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: (No Response)

A�Thank you for your support.

Reviewer #2: Yes

A�Thank you for your support.

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: COMMENTS.

SO FAR ONLY THOSE COMMENTS HAVE SYSTEM ERROR!

PAGE 11_ 1. Introduction

The educational question-answering systemError! Reference source not found. is playing an increasingly important role in modern education.

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 1&2.

PAGE 12_ However, despite their excellence in text generation and comprehension, LLMs still face limitations in handling complex reasoning and mathematical calculations, and they are susceptible to the “hallucination[8]” problem, where the model may generate incorrect answers that do not align with actual knowledge, posing challenges to the accuracy and reliability of the educational systemError! Reference source not found..

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 8.

To address these challenges in current educational question-answering systems, this study proposes a new LLM-based educational question-answering system that combines RetrievalAugmented Generation[9][11]Error! Reference source not found. (RAG) and LLM Code Interpreter[12][14][15][16].

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 10&11.

PAGES 14_ 2 Related works

2.1 Knowledge Base Question Answering Systems (KBQA)

Past educational question answering systems primarily relied on Knowledge Base Question Answering Systems[20][21]Error! Reference source not found.

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 20&21.

PAGES15_ Second, methods based on structured knowledge bases still face considerable challenges in dealing with the diversity and complexity of natural languageError! Reference source not found..

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 22.

PAGES 16_ it may still generate inaccurate or erroneous results when confronted with tasks that require multi-step calculations or precise answersError! Reference source not found..

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 32.

PAGES 16_2.3 Large Language Models (LLMs) and Code Interpreters

To address the limitations of LLMs in reasoning and computation, researchers have gradually introduced the Code Interpreter component[16][32]. A Code Interpreter is a tool that can generate and execute code, allowing it to handle complex tasks such as mathematical operations[34], data manipulation[35], and logical reasoningError! Reference source not found.

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 36.

PAGES 18_ 4. Textbook Question Answering (TQA)

The TQAError! Reference source not found. dataset comes from high school science textbooks and includes 1,076 course contents from life sciences, Earth sciences, and physical sciences.

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 41.

PAGES 21_ 4.4 Implementation Details of the RAG Retrieval Module

The RAG mechanism was implemented using the following approach, including knowledge base construction, retrieval and text selection, as well as fusion and input. The knowledge base was constructed by integrating publicly available text sources, such as Wikipedia excerpts, popular science websites, and digitized versions of various textbooks in both Chinese and English to ensure

linguistic consistency in retrieval. The original text was segmented into sentences or paragraphs, and vector-based retrieval techniquesError! Reference source not found. (e.g., Faiss or Milvus) were used to index the text

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 46.

PAGES 22_ 4.6 Prompt Engineering

To maximize the synergistic effects of the LLM, RAG, and Code Interpreter components, careful prompt engineering techniques[44][45]Error! Reference source not found. were employed.

A�Thank you for your suggestion. The issue has been resolved by replacing the reference 45&46&49.

Reviewer #2: The manuscript has undergone substantial improvement in both clarity and methodological rigor compared to earlier versions.

A�Thank you for your support.

The integration of Retrieval-Augmented Generation (RAG) and LLM-based Code Interpreters is well-motivated, technically justified, and convincingly demonstrated across diverse educational datasets.

A�Thank you for your support.

The addition of the system architecture diagram, statistical significance testing, and error analysis has strengthened the scientific quality and credibility of the work.

A�Thank you for your support.

Sharing the implementation code via GitHub enhances transparency, reproducibility, and the practical applicability of the study.

A�Thank you for your support.

The discussion of ethical considerations—bias, misinformation, and over-reliance—is highly relevant and adds value to the paper, especially in educational contexts.

A�Thank you for your support.

The writing is clear, coherent, and presented in standard English, making the manuscript accessible to a broad readership.

A�Thank you for your support.

Overall, the research is technically sound, the data support the conclusions, and the paper is suitable for publication in its current form.

A�Thank you for your support.

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

A�Thank you for your support.

Reviewer #2: Yes: Muralidhar Kurni

A�Thank you for your support.

Attachments
Attachment
Submitted filename: 20251024Response of Reviewer(Plos one).doc
Decision Letter - Zheng Zhang, Editor

A Novel Framework for Educational Q&A: Leveraging RAG and Code Interpreters for Knowledge Retrieval and Logical Computation

PONE-D-25-10858R3

Dear Dr. Ji Li,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager®  and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact billing support .

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Zheng Zhang

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

I believe the revisions have been made thoroughly, and the manuscript can be accepted.

Reviewers' comments:

Formally Accepted
Acceptance Letter - Zheng Zhang, Editor

PONE-D-25-10858R3

PLOS ONE

Dear Dr. Li,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Zheng Zhang

Academic Editor

PLOS ONE

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .