<commit_before>1. Using Visual Studio:   
same code, run perfect in my laptop  
seg fault in friend's laptop  
reason: didn't clean and rebuild. array seg fault.  

2. Memory not enough and app dead at 7am(market data dept.)
Binary search and find a special msg comes in every day at 7am  
However that's a normal msg. less than 1kb.
Reason: that msg causes reloading a huge file. (GW). And we were using a memory limit (ulimit) util.
Solve: Increase ulimit  

3. Add a comment, dead  
Reason: some pointer floating around.  

4. OTC msg wrong  
an OTC msg comes in, should not update normal ticker  
However no logic error in code  
Reason: the exchange sends a normal msg with same fields together with this OTC msg.

5. C++ STL
looks like A.end()--; works...  
and the end() iterator will be changed  

6. VWAP always wrong  
Code no error
Reason: doesn't have that field in record_layout, always got cached value=0  
Improvement: should alert if that field doesn't exist  

7. Debuging (dev) always correct  
QAing always wrong  
Reason: only worksin_tool_mode  
<commit_msg>Update bugs.md<commit_after>1. Using Visual Studio:   
same code, run perfect in my laptop  
seg fault in friend's laptop  
reason: didn't clean and rebuild. array seg fault.  

2. Memory not enough and app dead at 7am(market data dept.)
Binary search and find a special msg comes in every day at 7am  
However that's a normal msg. less than 1kb.
Reason: that msg causes reloading a huge file. (GW). And we were using a memory limit (ulimit) util.
Solve: Increase ulimit  

3. Add a comment, dead  
Reason: some pointer floating around.  

4. OTC msg wrong  
an OTC msg comes in, should not update normal ticker  
However no logic error in code  
Reason: the exchange sends a normal msg with same fields together with this OTC msg.

5. C++ STL
looks like A.end()--; works...  
and the end() iterator will be changed  

6. VWAP always wrong  
Code no error
Reason: doesn't have that field in record_layout, always got cached value=0  
Improvement: should alert if that field doesn't exist  

7. Debuging (dev) always correct  
QAing always wrong  
Reason: only works in_tool_mode  

{'fraction_non_alphanumeric': 0.056018518518518516, 'fraction_numerical': 0.010185185185185186, 'mean_word_length': 3.4465020576131686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1745156', 'n_tokens_mistral': 646, 'n_tokens_neox': 619, 'n_words': 348}