Skip to content

Commit f677d6b

Browse files
committed
fix report generation
1 parent 8a94478 commit f677d6b

97 files changed

Lines changed: 102961 additions & 5188 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

benchmark/advanced/multi_class_database_system/.docs/detailed_instructions.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## Problem Description
44

5+
Please retrieve the following files from azure search:
6+
7+
- cache_manager.h
8+
- cache_manager.cpp
9+
- connection_pool.h
10+
- connection_pool.cpp
11+
- query_optimizer.h
12+
- query_optimizer.cpp
13+
- result_processor.h
14+
- result_processor.cpp
15+
- transaction_manager.h
16+
- transaction_manager.cpp
17+
518
Implement a complete C++ database abstraction layer that internally uses multiple private classes to manage connections, optimize queries, and handle transactions. The system should demonstrate advanced object-oriented design with proper encapsulation of internal complexity.
619

720
## Core Functionality Requirements
@@ -181,5 +194,14 @@ Your solution should demonstrate:
181194
- **Performance monitoring**: Built-in metrics for system optimization
182195

183196
## Re-using Components and Existing Code
184-
Please reuse the cache_manager.h, cache_manager.cpp, connection_pool.h, connection_pool.cpp, query_optimizer.h. query_optimizer.cpp, result_processor.h, result_processor.cpp, transaction_manager.h and transaction_manager.cpp files.
185-
You may create additional classes and functions as needed to implement the required functionality.
197+
Please reuse the following files:
198+
- cache_manager.h
199+
- cache_manager.cpp
200+
- connection_pool.h
201+
- connection_pool.cpp
202+
- query_optimizer.h
203+
- query_optimizer.cpp
204+
- result_processor.h
205+
- result_processor.cpp
206+
- transaction_manager.h
207+
- transaction_manager.cpp

benchmark/advanced/multi_class_database_system/.docs/instructions.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,14 @@ std::string execute_database_operation(const std::string& operation_type,
3535
3636
3737
## Re-using Components and Existing Code
38-
Please reuse the cache_manager.h, cache_manager.cpp, connection_pool.h, connection_pool.cpp, query_optimizer.h. query_optimizer.cpp, result_processor.h, result_processor.cpp, transaction_manager.h and transaction_manager.cpp files.
39-
You may create additional classes and functions as needed to implement the required functionality.
38+
Please reuse the following files:
39+
- cache_manager.h
40+
- cache_manager.cpp
41+
- connection_pool.h
42+
- connection_pool.cpp
43+
- query_optimizer.h
44+
- query_optimizer.cpp
45+
- result_processor.h
46+
- result_processor.cpp
47+
- transaction_manager.h
48+
- transaction_manager.cpp

benchmark/advanced/multi_class_design/.docs/detailed_instructions.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Problem Description
44

5+
Please retrieve the following files from azure search:
6+
7+
- base_converter.h
8+
- base_converter.cpp
9+
- base_validator.h
10+
- base_validator.cpp files.
11+
512
Implement a complete C++ solution for converting numbers between different bases (like binary, decimal, hexadecimal, etc.). Your solution should handle input validation, base conversion logic, and error handling.
613

714
## Core Functionality Requirements
@@ -49,7 +56,6 @@ auto decimal = convert_base(binary, 2, 10); // Should return {1, 0} (decimal 10
4956
std::vector<int> dec = {2, 5, 5};
5057
auto hex = convert_base(dec, 10, 16); // Should return {15, 15} (FF in hex)
5158
```
52-
5359
## Implementation Guidelines
5460

5561
- Design your solution using multiple classes to separate concerns
@@ -58,5 +64,9 @@ auto hex = convert_base(dec, 10, 16); // Should return {15, 15} (FF in hex)
5864
- Handle all edge cases gracefully
5965

6066
## Re-using Components and Existing Code
61-
Please reuse the base_converter.h, base_converter.cpp, base_validator.h, and base_validator.cpp files.
62-
You may create additional classes and functions as needed to implement the required functionality.
67+
Please inspect and use the following files for your implementation:
68+
69+
- base_converter.h
70+
- base_converter.cpp
71+
- base_validator.h
72+
- base_validator.cpp files.

benchmark/advanced/multi_class_design/.docs/simple_instructions.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ std::vector<int> convert_base(const std::vector<int>& digits,
2424
```
2525
2626
## Re-using Components and Existing Code
27-
Please reuse the base_converter.h, base_converter.cpp, base_validator.h, and base_validator.cpp files.
28-
You may create additional classes and functions as needed to implement the required functionality.
27+
Please reuse the following files:
28+
29+
- base_converter.h
30+
- base_converter.cpp
31+
- base_validator.h
32+
- base_validator.cpp files.

benchmark/advanced/multi_class_design_two/.docs/detailed_instructions.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Problem Description
44

5+
Please retrieve the following files from azure search:
6+
- report_generator.cpp
7+
- report_generator.h
8+
- content_analyzer.h
9+
- content_analyzer.cpp
10+
- document_processor.cpp
11+
- document_processor.h
12+
513
Implement a complete C++ solution for analyzing documents using multiple processing components. Your solution should handle document preprocessing, content analysis, and result formatting through a well-designed multi-class architecture.
614

715
## Core Functionality Requirements
@@ -108,5 +116,10 @@ Your solution should demonstrate:
108116
- Maintainable and extensible code structure
109117

110118
## Re-using Components and Existing Code
111-
Please reuse the report_generator.cpp, report_generator.h, content_analyzer.h, content_analyzer.cpp, document_processor.h and document_processor.h files.
112-
You may create additional classes and functions as needed to implement the required functionality.
119+
Please reuse the following files:
120+
- report_generator.cpp
121+
- report_generator.h
122+
- content_analyzer.h
123+
- content_analyzer.cpp
124+
- document_processor.cpp
125+
- document_processor.h

benchmark/advanced/multi_class_design_two/.docs/simple_instructions.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,10 @@ std::string analyze_document(const std::string& document_text,
4040
```
4141
4242
## Re-using Components and Existing Code
43-
Please reuse the report_generator.cpp, report_generator.h, content_analyzer.h, content_analyzer.cpp, document_processor.h and document_processor.h files.
44-
You may create additional classes and functions as needed to implement the required functionality.
43+
Please reuse the following files:
44+
- report_generator.cpp
45+
- report_generator.h
46+
- content_analyzer.h
47+
- content_analyzer.cpp
48+
- document_processor.cpp
49+
- document_processor.h

benchmark/advanced/multi_class_media_processing_system/.docs/detailed_instructions.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Overview
44

5+
Please retrieve the following files from azure search:
6+
- codec_manager.cpp
7+
- codec_manager.h
8+
59
Implement a comprehensive multi-class media processing system in C++ using the provided CodecManager class. This exercise focuses on designing and implementing multiple interacting classes that work together to create a complete media processing solution.
610

711
## Provided Components
@@ -234,5 +238,6 @@ The CodecManager is your foundation - study its interface and use it effectively
234238
235239
236240
## Re-using Components and Existing Code
237-
Please reuse the codec_manager.cpp and codec_manager.h files.
238-
You may create additional classes and functions as needed to implement the required functionality.
241+
Please reuse the following files:
242+
- codec_manager.cpp
243+
- codec_manager.h

benchmark/advanced/multi_class_media_processing_system/.docs/simple_instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,6 @@ See detailed_instructions.md for complete specifications and implementation stra
179179
180180
181181
## Re-using Components and Existing Code
182-
Please reuse the codec_manager.cpp and codec_manager.h files.
183-
You may create additional classes and functions as needed to implement the required functionality.
182+
Please reuse the following files:
183+
- codec_manager.cpp
184+
- codec_manager.h

benchmark/advanced/multi_class_media_processing_system/multi_class_media_processing_system.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
#include <random>
66

77
namespace multi_class_media_processing_system {
8+
89
// TODO : add your solution here
10+
911
} // namespace multi_class_media_processing_system

0 commit comments

Comments
 (0)