7 research outputs found

    CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models

    Full text link
    With the emergence of Large Language Models (LLMs), there has been a significant improvement in the programming capabilities of models, attracting growing attention from researchers. We propose CodeApex, a bilingual benchmark dataset focusing on the programming comprehension and code generation abilities of LLMs. CodeApex comprises three types of multiple-choice questions: conceptual understanding, commonsense reasoning, and multi-hop reasoning, designed to evaluate LLMs on programming comprehension tasks. Additionally, CodeApex utilizes algorithmic questions and corresponding test cases to assess the code quality generated by LLMs. We evaluate 14 state-of-the-art LLMs, including both general-purpose and specialized models. GPT exhibits the best programming capabilities, achieving approximate accuracies of 50% and 56% on the two tasks, respectively. There is still significant room for improvement in programming tasks. We hope that CodeApex can serve as a reference for evaluating the coding capabilities of LLMs, further promoting their development and growth. Datasets are released at https://github.com/APEXLAB/CodeApex.git. CodeApex submission website is https://apex.sjtu.edu.cn/codeapex/.Comment: 21 page

    Assessment of the Relationship between Land Use and Flood Risk Based on a Coupled Hydrological–Hydraulic Model: A Case Study of Zhaojue River Basin in Southwestern China

    No full text
    As an ecological consequence of intensified anthropogenic activities, more frequent extreme rainfalls have resulted in significant increases in water levels and discharge in southwestern China. This phenomenon presents a significant challenge in flood risk and ecological management. Land use is one of the major factors significantly affecting the flooding process, and it is inextricably tied to the ecological risk of floods. Hence, flood risk estimates based on land use are essential for flood control and land use planning. In this study, a coupled hydrologic–hydraulic model was developed to analyze the relationship between flood ecological risk and land use in order to provide new insights into current flood risk management practices. Ten real flood events (of different magnitudes) in the Zhaojue river basin (650 km2) were chosen to evaluate the credibility and performance of the coupled model’s application. Promising results were obtained, with sufficient reliability for flood risk assessment purposes. The results of our flood risk analysis also indicated that the model effectively reproduced overland flow and competently accounted for flood evolution. This work is significant in the understanding of the mechanism of the flood process and its relationship with land use, and it can be used in decision support for the prevention and mitigation of flood disasters and for land use planning

    Land-Use-Based Runoff Yield Method to Modify Hydrological Model for Flood Management: A Case in the Basin of Simple Underlying Surface

    No full text
    The study of runoff under the influence of human activities is a research hot spot in the field of water science. Land-use change is one of the main forms of human activities and it is also the major driver of changes to the runoff process. As for the relationship between land use and the runoff process, runoff yield theories pointed out that the runoff yield capacity is spatially heterogeneous. The present work hypothesizes that the distribution of the runoff yield can be divided by land use, which is, areas with the same land-use type are similar in runoff yield, while areas of different land uses are significantly different. To prove it, we proposed a land-use-based framework for runoff yield calculations based on a conceptual rainfall–runoff model, the Xin’anjiang (XAJ) model. Based on the framework, the modified land-use-based Xin’anjiang (L-XAJ) model was constructed by replacing the yielding area (f/F) in the water storage capacity curve of the XAJ model with the area ratio of different land-use types (L/F; L is the area of specific land-use types, F is the whole basin area). The L-XAJ model was then applied to the typical cultivated–urban binary land-use-type basin (Taipingchi basin) to evaluate its performance. Results showed great success of the L-XAJ model, which demonstrated the area ratio of different land-use types can represent the corresponding yielding area in the XAJ model. The L-XAJ model enhanced the physical meaning of the runoff generation in the XAJ model and was expected to be used in the sustainable development of basin water resources

    Land-Use-Based Runoff Yield Method to Modify Hydrological Model for Flood Management: A Case in the Basin of Simple Underlying Surface

    No full text
    The study of runoff under the influence of human activities is a research hot spot in the field of water science. Land-use change is one of the main forms of human activities and it is also the major driver of changes to the runoff process. As for the relationship between land use and the runoff process, runoff yield theories pointed out that the runoff yield capacity is spatially heterogeneous. The present work hypothesizes that the distribution of the runoff yield can be divided by land use, which is, areas with the same land-use type are similar in runoff yield, while areas of different land uses are significantly different. To prove it, we proposed a land-use-based framework for runoff yield calculations based on a conceptual rainfall–runoff model, the Xin’anjiang (XAJ) model. Based on the framework, the modified land-use-based Xin’anjiang (L-XAJ) model was constructed by replacing the yielding area (f/F) in the water storage capacity curve of the XAJ model with the area ratio of different land-use types (L/F; L is the area of specific land-use types, F is the whole basin area). The L-XAJ model was then applied to the typical cultivated–urban binary land-use-type basin (Taipingchi basin) to evaluate its performance. Results showed great success of the L-XAJ model, which demonstrated the area ratio of different land-use types can represent the corresponding yielding area in the XAJ model. The L-XAJ model enhanced the physical meaning of the runoff generation in the XAJ model and was expected to be used in the sustainable development of basin water resources

    Quantitative Analysis of Spatiotemporal Patterns and Factor Contributions of Surface Ozone in the North China Plain

    No full text
    Over the past decade, surface ozone has emerged as a significant air pollutant in China, especially in the North China Plain (NCP). For effective ozone management in the NCP, it is crucial to accurately estimate the surface ozone levels and identify the primary influencing factors for ozone pollution in this region. This study utilized ozone precursors such as volatile organic compounds (VOCs) and nitrogen oxides (NOX), meteorological data, land cover, normalized difference vegetation index (NDVI), terrain, and population data to build an extreme gradient boosting (XGBoost)-based ozone estimation model in the NCP during 2019 to 2021. Four ozone estimation models were developed using different NO2 and formaldehyde (HCHO) datasets from the Sentinel-5 TROPOMI observations and Copernicus Atmosphere Monitoring Service (CAMS) reanalysis data. Site-based validation results of these four models showed high accuracy with R2 values above 0.86. Among these four models, two models with higher accuracy and higher spatial coverage ratio were selected, and their results were averaged to produce the final ozone estimation products. The results indicated that VOCs and NOX were the two main pollutants causing ozone pollution in the NCP, and their relative contributions accounted for more than 23.34% and 10.23%, respectively, while HCHO also played a significant role, contributing over 5.64%. Additionally, meteorological factors also had a notable impact, contributing 28.63% to ozone pollution, with each individual factor contributing more than 2.38%. The spatial distribution of ozone pollution identified the Hebei–Shandong–Henan junction as a pollution hotspot, with the peak occurring in summer, particularly in June. Therefore, for this hotspot region in the NCP, promoting the reduction in VOCs and NOx can play an important role in the mitigation of O3 pollution and the improvement in air quality in this region
    corecore